[RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence of conditi...
commit43ada4d7e5a7a78563a26825914986fa4f5a7736
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Nov 2015 09:31:57 +0000 (24 09:31 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Nov 2015 09:31:57 +0000 (24 09:31 +0000)
treed047e8d586b542f770412c7b9ce466021f56bf60
parenta36d34e4cd0b366a46b5a6056ed03ebfa38e484c
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230795 138bc75d-0d04-0410-961f-82ee72b054a4
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]