OSDN Git Service

PR middle-end/32461
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jun 2007 20:59:02 +0000 (20:59 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jun 2007 20:59:02 +0000 (20:59 +0000)
commit5bd7f4f4bc1960fcad9a1e527685ebece5884724
treeb5ef95b7a52b4aaad86fe4118925cd68be322d23
parent03f9dbf0b3c5b4150becb3cb5469e4c546f7d918
PR middle-end/32461
* fold-const.c (fold_binary): Strip nops of operand 0
of BIT_NOT_EXPR before calling operand_equal_p.
* testsuite/gcc.dg/tree-ssa/pr32461-1.c: New.
* testsuite/gcc.dg/tree-ssa/pr32461-2.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125988 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/gcc.dg/tree-ssa/pr32461-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr32461-2.c [new file with mode: 0644]