From: Jan Hubicka Date: Mon, 1 Jan 2007 20:11:09 +0000 (+0100) Subject: cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions before starting IPA... X-Git-Tag: releases/gcc-4.3.0~7774 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03c72655bab1ea9c7023e95066e81777c21e372d;p=thirdparty%2Fgcc.git 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 From-SVN: r120314 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e69de29bb2d1..e4bf33d29782 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -0,0 +1,5 @@ +2007-01-01 Jan Hubicka + Andrew Pinski + + * cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions + before starting IPA passes. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 0aa9f7de124c..d5b7e6d17d15 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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)