OSDN Git Service

2007-07-04 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 11:44:58 +0000 (11:44 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 11:44:58 +0000 (11:44 +0000)
commitd9022390cd43f3fd58df12acc041460e34aef614
treec56451a80746f69f5417de37ab545e4e904fa2a8
parent6f50e0d867b33da77b9c99f7fa469ef66c49a0db
2007-07-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/32482
* tree-ssa-ifcombine.c (recognize_single_bit_test): Use the
original ssa name if we didn't find a shift expression.
Fix shift constant for bit zero test.

* gcc.c-torture/compile/pr32482.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126314 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr32482.c [new file with mode: 0644]
gcc/tree-ssa-ifcombine.c