re PR target/35540 (Segmentation fault with __builtin_parity() and -O1)
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 11 Mar 2008 19:18:48 +0000 (20:18 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 11 Mar 2008 19:18:48 +0000 (20:18 +0100)
commit40cca4f97caa0a29b71ec335f1d29daf484f73de
tree6f5396810b36be83ddd678480f6e59437b6271ba
parentec6237e4403c864d94378d7c6bd96a01ff2bc06e
re PR target/35540 (Segmentation fault with __builtin_parity() and -O1)

        PR target/35540
        * config/i386/i386.md (paritysi2, paritydi2): Use register_operand
        constraint for operand 1.
        (paritysi2_cmp): Use register_operand constraint for operand 2.
        Use earlyclobber modifier for operand 1.  Remove support for
        memory operands.
        (paritydi2_cmp): Use register_operand constraint for operand 3.
        Use earlyclobber modifier for operand 1.  Remove support for
        memory operands.

testsuite/ChangeLog:

        PR target/35540
        * gcc.target/i386/pr35540.c: New test.

From-SVN: r133118
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr35540.c [new file with mode: 0644]