Commit 34132917 by Jan Hubicka Committed by Jan Hubicka

tree-inline.c (expand_call_inline): Make overactive sanity check happy.

	middle-end/17128
	* tree-inline.c (expand_call_inline): Make overactive sanity check happy.

From-SVN: r87238
parent 9f7aa952
2004-09-09 Jan Hubicka <jh@suse.cz> 2004-09-09 Jan Hubicka <jh@suse.cz>
middle-end/17128
* tree-inline.c (expand_call_inline): Make overactive sanity check happy.
2004-09-09 Jan Hubicka <jh@suse.cz>
* tree-ssa-loop-ivopts.c (peel_address): Fix abort on * tree-ssa-loop-ivopts.c (peel_address): Fix abort on
VIEW_CONVERT_EXPR. VIEW_CONVERT_EXPR.
......
...@@ -1463,7 +1463,7 @@ expand_call_inline (tree *tp, int *walk_subtrees, void *data) ...@@ -1463,7 +1463,7 @@ expand_call_inline (tree *tp, int *walk_subtrees, void *data)
where previous inlining turned indirect call into direct call by where previous inlining turned indirect call into direct call by
constant propagating arguments. In all other cases we hit a bug constant propagating arguments. In all other cases we hit a bug
(incorrect node sharing is most common reason for missing edges. */ (incorrect node sharing is most common reason for missing edges. */
gcc_assert (dest->needed); gcc_assert (dest->needed || flag_unit_at_a_time);
cgraph_create_edge (id->node, dest, t)->inline_failed cgraph_create_edge (id->node, dest, t)->inline_failed
= N_("originally indirect function call not considered for inlining"); = N_("originally indirect function call not considered for inlining");
goto egress; goto egress;
......
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