re PR tree-optimization/65658 (Jump threading too pessimistic when optimizing for...
authorJeff Law <law@redhat.com>
Mon, 20 Apr 2015 19:35:50 +0000 (13:35 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 20 Apr 2015 19:35:50 +0000 (13:35 -0600)
       PR tree-optimization/65658
        * tree-ssa-threadupdate.c (redirection_block_p): Remove
        redundant test for GIMPLE_ASSIGN in last change.

From-SVN: r222247

gcc/ChangeLog
gcc/tree-ssa-threadupdate.c

index a4c10765dfaa7bf2ae01b0bd88682469a1003454..2262e09762d4bec7f971ffbfb0977362e7a2d42a 100644 (file)
@@ -1,3 +1,9 @@
+2015-04-20  Jeff Law  <law@redhat.com>
+
+       PR tree-optimization/65658
+       * tree-ssa-threadupdate.c (redirection_block_p): Remove
+       redundant test for GIMPLE_ASSIGN in last change.
+
 2015-04-19  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.c (set_pic_reg_ever_live): Remove.
index 9f263bd7843637a25c1574a63c0b8845e1876f0a..0d61c1860ef7ee05778bb1eba5f2f589d953e464 100644 (file)
@@ -1450,8 +1450,7 @@ redirection_block_p (basic_block bb)
         && (gimple_code (gsi_stmt (gsi)) == GIMPLE_LABEL
             || is_gimple_debug (gsi_stmt (gsi))
             || gimple_nop_p (gsi_stmt (gsi))
-            || (gimple_code (gsi_stmt (gsi)) == GIMPLE_ASSIGN
-                && gimple_clobber_p (gsi_stmt (gsi)))))
+            || gimple_clobber_p (gsi_stmt (gsi))))
     gsi_next (&gsi);
 
   /* Check if this is an empty block.  */