* cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Jan 2007 20:11:09 +0000 (20:11 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Jan 2007 20:11:09 +0000 (20:11 +0000)
before starting IPA passes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120314 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cgraphunit.c

index e69de29..e4bf33d 100644 (file)
@@ -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.
index 0aa9f7d..d5b7e6d 100644 (file)
@@ -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)