]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/45695 (-O1 wrong-code by cmove)
authorJakub Jelinek <jakub@redhat.com>
Mon, 20 Sep 2010 13:24:23 +0000 (15:24 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 20 Sep 2010 13:24:23 +0000 (15:24 +0200)
commit2960be837a8b9b479615f41802e235b84ac294e7
tree7aedca29d29b239ad944ac6078ec7f0e0235c62a
parent4ee472e528bdbbbafc3a16b6573220f8aa265eba
re PR rtl-optimization/45695 (-O1 wrong-code by cmove)

PR rtl-optimization/45695
* combine.c (try_combine): When splitting a two set pattern,
make sure the pattern which will be put into i2 doesn't use REGs
or MEMs set by insns in between i2 and i3.

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

From-SVN: r164431
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr45695.c [new file with mode: 0644]