From: Jeff Law Date: Mon, 20 Apr 2015 19:35:50 +0000 (-0600) Subject: re PR tree-optimization/65658 (Jump threading too pessimistic when optimizing for... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb864fbc7ef9d589056f876dfbf26101ba6c53d6;p=gcc.git re PR tree-optimization/65658 (Jump threading too pessimistic when optimizing for size) PR tree-optimization/65658 * tree-ssa-threadupdate.c (redirection_block_p): Remove redundant test for GIMPLE_ASSIGN in last change. From-SVN: r222247 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4c10765dfa..2262e09762d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-04-20 Jeff Law + + 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 * config/i386/i386.c (set_pic_reg_ever_live): Remove. diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index 9f263bd7843..0d61c1860ef 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -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. */