re PR target/49696 (ICE on mips when compiling drizzle)
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 2 Oct 2011 17:45:10 +0000 (17:45 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 2 Oct 2011 17:45:10 +0000 (17:45 +0000)
commit31045a25f33215ed30bfc4f7166c461a2cc92094
tree642730cfd3b37021971ee340f695e284f6cc1711
parent4762f56169a78b4a15e8c7b6bb96ed3ceedfcc4c
re PR target/49696 (ICE on mips when compiling drizzle)

gcc/
PR target/49696
* config/mips/sync.md (sync_<optab>_12): Allow zero operands.
(sync_old_<optab>_12, sync_new_<optab>_12, sync_nand_12): Likewise.
(sync_old_nand_12, sync_new_nand_12, test_and_set_12): Likewise.

gcc/testsuite/
* gcc.dg/pr49696.c: New test.

From-SVN: r179431
gcc/ChangeLog
gcc/config/mips/sync.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr49696.c [new file with mode: 0644]