OSDN Git Service

PR rtl-optimization/52060
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Feb 2012 15:48:52 +0000 (15:48 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Feb 2012 15:48:52 +0000 (15:48 +0000)
commitec458c0199a38b92fe819539812840af48d5d94b
treeca6b0042141862f3c4f03a32d3199c206b2102e5
parent1d784785ebd590d40384fbeb7a298e4bf5f7db42
PR rtl-optimization/52060
* combine.c (try_combine): Add i0src_copy and i0src_copy2 variables,
copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n already
before i1dest -> i1src substitution in newpat, copy i0src to i0src_copy
and/or i0src_copy2 when needed.

* gcc.dg/torture/pr52060.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183972 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52060.c [new file with mode: 0644]