diff options
author | Jeff Law <law@redhat.com> | 2015-04-20 13:35:50 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-04-20 13:35:50 -0600 |
commit | cb864fbc7ef9d589056f876dfbf26101ba6c53d6 (patch) | |
tree | 2d3634ba97534de78e57f82ddbd2a8c41cf30c98 /gcc/tree-ssa-threadupdate.c | |
parent | 1e7e62b1145656ae1002c040023eb7c8a342e697 (diff) | |
download | gcc-cb864fbc7ef9d589056f876dfbf26101ba6c53d6.zip gcc-cb864fbc7ef9d589056f876dfbf26101ba6c53d6.tar.gz gcc-cb864fbc7ef9d589056f876dfbf26101ba6c53d6.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index 9f263bd..0d61c18 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. */ |