* cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes.

From-SVN: r160040
This commit is contained in:
Jan Hubicka 2010-05-30 02:04:53 +02:00 committed by Jan Hubicka
parent 72b0a7bbad
commit 7baeea85a4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-05-29 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes.
2010-05-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/44165

View File

@ -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);