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.
|
/* 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. */
|
It is safe to deal with them here as they are always zero initialized. */
|
||||||
varpool_analyze_pending_decls ();
|
varpool_analyze_pending_decls ();
|
||||||
|
cgraph_process_new_functions ();
|
||||||
|
|
||||||
timevar_push (TV_CGRAPHOPT);
|
timevar_push (TV_CGRAPHOPT);
|
||||||
if (pre_ipa_mem_report)
|
if (pre_ipa_mem_report)
|
||||||
|
|
Loading…
Reference in New Issue