re PR c/48305 (ice at -O0: verify_gimple failed)
authorJakub Jelinek <jakub@redhat.com>
Wed, 30 Mar 2011 12:36:18 +0000 (14:36 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 30 Mar 2011 12:36:18 +0000 (14:36 +0200)
commit8a87e7abcb28cc53fb1be10b453d030a039de15e
treee7880e3c3edf324e2b6001c06571ddb2f5245a1c
parent12486e033e1e90f999a8d88fa5756828c22db662
re PR c/48305 (ice at -O0: verify_gimple failed)

PR c/48305
* fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure
arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to
matching arg00/arg01 types.

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

From-SVN: r171723
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr48305.c [new file with mode: 0644]