From 03c72655bab1ea9c7023e95066e81777c21e372d Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 1 Jan 2007 21:11:09 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/cgraphunit.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e69de29bb2d..e4bf33d2978 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 0aa9f7de124..d5b7e6d17d1 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)