OSDN Git Service

PR rtl-optimization/39580
authorabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Apr 2009 15:25:58 +0000 (15:25 +0000)
committerabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Apr 2009 15:25:58 +0000 (15:25 +0000)
    * sel-sched-ir.c (insert_in_history_vect): Remove incorrect gcc_assert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146588 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/sel-sched-ir.c

index cce04d5..1745a36 100644 (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"
index 6f16d75..45a50d9 100644 (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.  */