aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-01-01 21:11:09 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-01-01 20:11:09 +0000
commit03c72655bab1ea9c7023e95066e81777c21e372d (patch)
treef4c079800f7f6d66528ff5bece1477c136d8a4db /gcc/cgraphunit.c
parentf1aea409a439f8f5fb12b7cde75b44d7e44b054a (diff)
downloadgcc-03c72655bab1ea9c7023e95066e81777c21e372d.zip
gcc-03c72655bab1ea9c7023e95066e81777c21e372d.tar.gz
gcc-03c72655bab1ea9c7023e95066e81777c21e372d.tar.bz2
cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions before starting IPA passes.
* cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions before starting IPA passes. Co-Authored-By: Andrew Pinski <pinskia@gmail.com> From-SVN: r120314
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 0aa9f7d..d5b7e6d 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1445,6 +1445,7 @@ cgraph_optimize (void)
/* Frontend may output common variables after the unit has been finalized.
It is safe to deal with them here as they are always zero initialized. */
varpool_analyze_pending_decls ();
+ cgraph_process_new_functions ();
timevar_push (TV_CGRAPHOPT);
if (pre_ipa_mem_report)