OSDN Git Service

PR rtl-optimization/25514
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 May 2006 15:58:03 +0000 (15:58 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 May 2006 15:58:03 +0000 (15:58 +0000)
commit810d7bbd81a72e4dc06f950d43d95343190ea5fd
tree1b43b83f68f5f180323cec80a8a5d5feb8ce778d
parent346f625e6de0ed9def81b3d0a51d409a1cd84d01
PR rtl-optimization/25514
* combine.c (replaced_rhs_insn): New variable.
(combine_instructions): Set replaced_rhs_insn when trying to replace
a SET_SRC with a REG_EQUAL note.
(distribute_notes): Use replaced_rhs_insn when determining the live
range of a REG_DEAD register.

gcc/testsute
* gcc.c-torture/compile/pr25514.c: New test.

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