re PR rtl-optimization/39580 (Revision 145204 caused libgomp.c++/collapse-2.C)

PR rtl-optimization/39580
    * sel-sched-ir.c (insert_in_history_vect): Remove incorrect gcc_assert.

From-SVN: r146588
This commit is contained in:
Andrey Belevantsev 2009-04-22 19:25:58 +04:00 committed by Andrey Belevantsev
parent a52fefe6ab
commit 8632d02a43
2 changed files with 5 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2009-04-22 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/39580
* sel-sched-ir.c (insert_in_history_vect): Remove incorrect gcc_assert.
2009-04-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* function.c (expand_function_end): Do not emit a jump to the "naked"

View File

@ -1505,14 +1505,6 @@ insert_in_history_vect (VEC (expr_history_def, heap) **pvect,
{
expr_history_def *phist = VEC_index (expr_history_def, vect, ind);
/* When merging, either old vinsns are the *same* or, if not, both
old and new vinsns are different pointers. In the latter case,
though, new vinsns should be equal. */
gcc_assert (phist->old_expr_vinsn == old_expr_vinsn
|| (phist->new_expr_vinsn != new_expr_vinsn
&& (vinsn_equal_p
(phist->old_expr_vinsn, old_expr_vinsn))));
/* It is possible that speculation types of expressions that were
propagated through different paths will be different here. In this
case, merge the status to get the correct check later. */