diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-28 15:26:13 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-28 15:26:13 +0000 |
commit | 18866fd0669eb2896f795b8d6df30c21b96e40d2 (patch) | |
tree | e070c7bc3d3b623d358a0bede56e095b930f917a /gcc/tree-ssa-ifcombine.c | |
parent | 0e989e565be6895130a946abfe4324103a7ae239 (diff) | |
download | gcc-18866fd0669eb2896f795b8d6df30c21b96e40d2.tar.gz |
2008-08-28 Richard Guenther <rguenther@suse.de>
PR tree-optimization/37207
* tree-ssa-ifcombine.c (recognize_single_bit_test): Fix
tuplification bug.
* gcc.c-torture/compile/pr37207.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-ifcombine.c')
-rw-r--r-- | gcc/tree-ssa-ifcombine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-ifcombine.c b/gcc/tree-ssa-ifcombine.c index 143608e28eb..a4a74ee6be4 100644 --- a/gcc/tree-ssa-ifcombine.c +++ b/gcc/tree-ssa-ifcombine.c @@ -212,7 +212,7 @@ recognize_single_bit_test (gimple cond, tree *name, tree *bit) stmt = SSA_NAME_DEF_STMT (orig_name); while (is_gimple_assign (stmt) - && (gimple_assign_copy_p (stmt) + && (gimple_assign_ssa_name_copy_p (stmt) || (gimple_assign_cast_p (stmt) && integral_operand_p (gimple_assign_lhs (stmt)) && integral_operand_p (gimple_assign_rhs1 (stmt)) |