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  <mjambor@suse.cz>

	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
This commit is contained in:
Martin Jambor 2013-09-13 14:04:54 +02:00 committed by Martin Jambor
parent e660fa8b9d
commit ae6d090748
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-09-13 Martin Jambor <mjambor@suse.cz>
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 <rguenther@suse.de>
* tree-data-ref.h (known_dependences_p): Move here ...

View File

@ -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);