http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58388
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-09-12
Ever confirmed|0 |1
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Martin,
I think the problem is just the assert itself:
gcc_checking_assert (cs->callee
&& (jfunc->type != IPA_JF_CONST
|| !cgraph_node_for_jfunc (jfunc)
|| cs->callee == cgraph_node_for_jfunc
(jfunc)));
Since have possibly resolved speculation, cs->callee may point to a clone
(either ipa-cp or inline created). Shall we just drop the test or weaken it if
the edge was previously speculative?