]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/57568 (wrong code for assignment in conditional at -Os)
authorJakub Jelinek <jakub@redhat.com>
Sun, 9 Jun 2013 18:37:51 +0000 (20:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 9 Jun 2013 18:37:51 +0000 (20:37 +0200)
commit65b30b05c185d70e95d78193ca4148ea678fe850
treed96b991840fbf15454931fc4af27dd8226209df5
parent8f0aa2f85b324cfb52bae22f0ff2679279015bd6
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: r199872
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr57568.c [new file with mode: 0644]