combine.c (try_combine): If insns need to be kept around...
authorJie Zhang <jie@codesourcery.com>
Mon, 25 Oct 2010 09:37:19 +0000 (09:37 +0000)
committerJie Zhang <jiez@gcc.gnu.org>
Mon, 25 Oct 2010 09:37:19 +0000 (09:37 +0000)
commit8150f05c20bd3a41b337f37ce3badecf36abb259
tree404145dc1174835483c3d92b3ac2df597b7b970a
parent0ebd05fea230df81b2903f713ba1bd2ae6e99000
combine.c (try_combine): If insns need to be kept around...

* combine.c (try_combine): If insns need to be kept around,
check that they can be copied in the merged instruction.

testsuite/
g++.dg/opt/combine.c: New test.

From-SVN: r165911
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/combine.C [new file with mode: 0644]