[Bug bootstrap/58388] [4.9 Regression] LTO profiledbootstrap fails in stage feedback for tree-ssa-structalias.c with "internal compiler error: in try_make_edge_direct_simple_call, at ipa-prop.c:2606"
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 12 14:34:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58388
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #2)
> 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?
It took me some time to reproduce this in a way that would give me
enough debug info to look at stuff. Nevertheless, indeed that is the
case, cs->callee is an inline clone. I'll add (cs != ie) to the
disjunctions in the assert.
More information about the Gcc-bugs
mailing list