re PR target/48774 (gcc-4.6.0 optimization regression on x86_64-unknown-linux-gnu)
authorJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 May 2011 13:01:12 +0000 (15:01 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 May 2011 13:01:12 +0000 (15:01 +0200)
commit17038fcf969aacff3fa4ebdbb9bfedda6705f612
treec696183f4ee70590759ab790079ae80e56489745
parent3810076ba72986ec17bc02043ea7897fd5b73434
re PR target/48774 (gcc-4.6.0 optimization regression on x86_64-unknown-linux-gnu)

PR target/48774
* config/i386/i386.c (ix86_match_ccmode): For CC{A,C,O,S}mode
only succeed if req_mode is the same as set_mode.

* gcc.dg/pr48774.c: New test.

From-SVN: r173301
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr48774.c [new file with mode: 0644]