From: hubicka Date: Sun, 30 May 2010 00:04:53 +0000 (+0000) Subject: * cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f941b9b338d7b9ed551c1ab23e18400bb924c459;p=thirdparty%2Fgcc.git * cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160040 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f1a7e34bbe5..bf55665bd7f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-05-29 Jan Hubicka + + * cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes. + 2010-05-29 John David Anglin PR target/44165 diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 229f8a30e99e..8c7916865fe1 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1659,7 +1659,8 @@ cgraph_mark_reachable_node (struct cgraph_node *node) /* Verify that function does not appear to be needed out of blue during the optimization process. This can happen for extern inlines when bodies was removed after inlining. */ - gcc_assert ((node->analyzed || DECL_EXTERNAL (node->decl))); + gcc_assert ((node->analyzed || node->in_other_partition + || DECL_EXTERNAL (node->decl))); } else notice_global_symbol (node->decl);