re PR middle-end/48136 (verify_gimple failed at -O0)
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Mar 2011 10:24:44 +0000 (11:24 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Mar 2011 10:24:44 +0000 (11:24 +0100)
commit29f10e717837d30e181b25f9a691c7457be120a5
treefffb4526abb49579e804643d8ce8741388ff7ce7
parente42348b8cdb1eeaaa0f588c1b2551dbe10ff773b
re PR middle-end/48136 (verify_gimple failed at -O0)

PR middle-end/48136
* fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure
arg0/arg1 or their arguments are always fold converted to matching
types.

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

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