re PR rtl-optimization/57568 (wrong code for assignment in conditional at -Os)
authorJakub Jelinek <jakub@redhat.com>
Sun, 9 Jun 2013 18:30:01 +0000 (20:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 9 Jun 2013 18:30:01 +0000 (20:30 +0200)
commit3e56ed50d74ae33d87353df9a5aff5c247a81349
treeb7a1101d2801b50e61ab2ddaf98671e598dc4b96
parent5beb165753370571284bbf4a4c23104bebbfca9e
re PR rtl-optimization/57568 (wrong code for assignment in conditional at -Os)

PR target/57568
* config/i386/i386.md (TARGET_READ_MODIFY_WRITE peepholes): Ensure
that operands[2] doesn't overlap with operands[0].

* gcc.c-torture/execute/pr57568.c: New test.

From-SVN: r199870
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr57568.c [new file with mode: 0644]