PR middle-end/55851
commit100d7996c45240b04b7458f33615030d0d1da6ea
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2013 08:32:12 +0000 (8 08:32 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2013 08:32:12 +0000 (8 08:32 +0000)
treeddef6bb86fc27a607b3cf386774ca7f5dc73a25e
parenta3d7412d7fb3d076296b0ff4a78f4c85a35e071f
PR middle-end/55851
* fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
types instead of just INTEGER_TYPE types.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195006 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr55851.c [new file with mode: 0644]