This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r167695 - in /trunk/gcc: ChangeLog regmove.c te...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 10 Dec 2010 16:40:53 -0000
- Subject: r167695 - in /trunk/gcc: ChangeLog regmove.c te...
Author: jakub
Date: Fri Dec 10 16:40:51 2010
New Revision: 167695
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167695
Log:
PR rtl-optimization/46804
* regmove.c (optimize_reg_copy_3): Look for REG_EQUAL note
on the setter of src_reg rather than on insn. If it is
equal to the setter's original SET_SRC, replace it with its
zero or sign extension instead of dropping it.
* gfortran.dg/pr46804.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr46804.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/regmove.c
trunk/gcc/testsuite/ChangeLog