re PR rtl-optimization/62208 (ICE with -fwhole-program on valid code at -O3 on x86_64...
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 7 Sep 2014 08:54:49 +0000 (08:54 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 7 Sep 2014 08:54:49 +0000 (08:54 +0000)
commit9d31ea5b56b8d101435315814039876457a8691b
treef0f5e8b0a3fdb2fc36e7ffa174ab9682d07467dc
parentba6c79fc30a1b70ddcf530b2a1eda5b1aabe1129
re PR rtl-optimization/62208 (ICE with -fwhole-program on valid code at -O3 on x86_64-linux-gnu in trunc_int_for_mode, at explow.c:56)

gcc/
PR rtl-optimization/62208
* simplify-rtx.c (simplify_relational_operation_1): Use CONST0_RTX
rather than const0_rtx in eq/ne-xor simplifications.

gcc/testsuite/
* gcc.target/i386/pr62208.c: New test.

From-SVN: r215002
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr62208.c [new file with mode: 0644]