[RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence of conditi...
authorKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 24 Nov 2015 09:31:57 +0000 (09:31 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 24 Nov 2015 09:31:57 +0000 (09:31 +0000)
commit8632824e9c117077ef95d907ff51553b584609ba
treed047e8d586b542f770412c7b9ce466021f56bf60
parent4404c2826c45ffb749e868b011c480a9d279f8e7
[RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence of conditional moves

PR rtl-optimization/68194
PR rtl-optimization/68328
PR rtl-optimization/68185
* ree.c (combine_reaching_defs): Reject copy_needed case if
copies_list is not empty.

* gcc.c-torture/execute/pr68185.c: New test.
* gcc.c-torture/execute/pr68328.c: Likewise.

From-SVN: r230795
gcc/ChangeLog
gcc/ree.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr68185.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/pr68328.c [new file with mode: 0644]