Commit 03c72655 by Jan Hubicka Committed by Jan Hubicka

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
parent f1aea409
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment