mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 20:01:28 +08:00
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
This commit is contained in:
parent
f1aea409a4
commit
03c72655ba
@ -0,0 +1,5 @@
|
||||
2007-01-01 Jan Hubicka <jh@suse.cz>
|
||||
Andrew Pinski <pinskia@gmail.com>
|
||||
|
||||
* cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions
|
||||
before starting IPA passes.
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user