From: hubicka Date: Sun, 4 Feb 2007 23:40:58 +0000 (+0000) Subject: PR middle-end/30696 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9606b4af46c2fe61092079ffd9bb3db991b9f615;p=thirdparty%2Fgcc.git PR middle-end/30696 * ipa-inline.c (cgraph_clone_inlined_nodes): When there are unanalyzed nodes in cgraph, don't remove offline copy of the function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121582 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f237cf02bf2..203873e01823 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-02-05 Jan Hubicka + + PR middle-end/30696 + * ipa-inline.c (cgraph_clone_inlined_nodes): When there are unanalyzed + nodes in cgraph, don't remove offline copy of the function. + 2007-02-04 Jan Hubicka * tree-sra.c (sra_walk_expr): Add linebreaks. BITFIELD_REFs into diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 5e6a7e68457a..736a3ae7a93c 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -204,6 +204,7 @@ cgraph_clone_inlined_nodes (struct cgraph_edge *e, bool duplicate, bool update_o In that case just go ahead and re-use it. */ if (!e->callee->callers->next_caller && !e->callee->needed + && !cgraph_new_nodes && flag_unit_at_a_time) { gcc_assert (!e->callee->global.inlined_to);