From: Martin Jambor Date: Fri, 13 Sep 2013 12:04:54 +0000 (+0200) Subject: re PR bootstrap/58388 (LTO profiledbootstrap fails in stage feedback for tree-ssa... X-Git-Tag: releases/gcc-4.9.0~4084 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae6d090748df54cb09a9bd7dc5d4d9b4668296f9;p=thirdparty%2Fgcc.git re PR bootstrap/58388 (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") 2013-09-13 Martin Jambor PR bootstrap/58388 * ipa-prop.c (try_make_edge_direct_simple_call): Be less strict in the assert if the edge was a speculative one. From-SVN: r202563 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a219a1a67595..213943da83f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-09-13 Martin Jambor + + PR bootstrap/58388 + * ipa-prop.c (try_make_edge_direct_simple_call): Be less strict in + the assert if the edge was a speculative one. + 2013-09-13 Richard Biener * tree-data-ref.h (known_dependences_p): Move here ... diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 9054d9065824..b511afd7ab9e 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -2603,7 +2603,8 @@ try_make_edge_direct_simple_call (struct cgraph_edge *ie, { bool ok; gcc_checking_assert (cs->callee - && (jfunc->type != IPA_JF_CONST + && (cs != ie + || jfunc->type != IPA_JF_CONST || !cgraph_node_for_jfunc (jfunc) || cs->callee == cgraph_node_for_jfunc (jfunc))); ok = try_decrement_rdesc_refcount (jfunc);