summaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-01 20:11:09 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-01 20:11:09 +0000
commit2215b9254eec589353667565620bdd5e57d7f07f (patch)
treef4c079800f7f6d66528ff5bece1477c136d8a4db /gcc/cgraphunit.c
parent6d79626c87847f6052e6dca05bda42f373b9ec24 (diff)
downloadgcc-2215b9254eec589353667565620bdd5e57d7f07f.tar.gz
* cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions
before starting IPA passes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120314 138bc75d-0d04-0410-961f-82ee72b054a4
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 0aa9f7de124..d5b7e6d17d1 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)