This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r120526 - in /branches/gcc-4_1-branch/gcc: Chan...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 06 Jan 2007 14:26:59 -0000
- Subject: r120526 - in /branches/gcc-4_1-branch/gcc: Chan...
Author: rsandifo
Date: Sat Jan 6 14:26:58 2007
New Revision: 120526
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120526
Log:
gcc/
Backport:
2006-05-23 Richard Sandiford <richard@codesourcery.com>
PR rtl-optimization/27736
* combine.c (replaced_rhs_value): New variable.
(combine_instructions): Set it.
(distribute_notes): When distributing a note in replaced_rhs_insn,
check whether the value was used in replaced_rhs_value.
2006-05-22 Richard Sandiford <richard@codesourcery.com>
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/testsuite/
2006-05-22 Richard Sandiford <richard@codesourcery.com>
PR rtl-optimization/25514
* gcc.c-torture/compile/pr25514.c: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/pr25514.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/combine.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog