re PR rtl-optimization/53519 (ice in do_SUBST, at combine.c:707)
authorJakub Jelinek <jakub@redhat.com>
Wed, 30 May 2012 06:53:46 +0000 (08:53 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 30 May 2012 06:53:46 +0000 (08:53 +0200)
commit667c517b378a6e09c4790aa2111492c9609996ba
tree716cc6742c97b8f4aa23addb4244350e75ac4657
parenteea58adb130013762b585f149c2dfaddb2072818
re PR rtl-optimization/53519 (ice in do_SUBST, at combine.c:707)

PR rtl-optimization/53519
* combine.c (simplify_shift_const_1) <case NOT>: Use constm1_rtx
instead of GEN_INT (GET_MODE_MASK (mode)) as second operand of XOR.

* gcc.c-torture/compile/pr53519.c: New test.

From-SVN: r188001
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr53519.c [new file with mode: 0644]