http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49696
--- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-10-02 17:45:16 UTC --- Author: rsandifo Date: Sun Oct 2 17:45:10 2011 New Revision: 179431 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179431 Log: 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. Added: trunk/gcc/testsuite/gcc.dg/pr49696.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/mips/sync.md trunk/gcc/testsuite/ChangeLog