]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions before starting IPA...
authorJan Hubicka <jh@suse.cz>
Mon, 1 Jan 2007 20:11:09 +0000 (21:11 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 1 Jan 2007 20:11:09 +0000 (20:11 +0000)
* cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions
before starting IPA passes.

Co-Authored-By: Andrew Pinski <pinskia@gmail.com>
From-SVN: r120314

gcc/ChangeLog
gcc/cgraphunit.c

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e4bf33d29782fad1154a0d86217bdc4e75c30744 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 0aa9f7de124c92ac97d25759bbc4b2fb266da31d..d5b7e6d17d156af58684a94e7fe6f823d7eb1680 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)