middle-end/17128
* tree-inline.c (expand_call_inline): Make overactive sanity check happy.
From-SVN: r87238
+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
where previous inlining turned indirect call into direct call by
constant propagating arguments. In all other cases we hit a bug
(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
= N_("originally indirect function call not considered for inlining");
goto egress;