Commit 7baeea85 by Jan Hubicka Committed by Jan Hubicka

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

From-SVN: r160040
parent 72b0a7bb
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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment