r167695 - in /trunk/gcc: ChangeLog regmove.c te...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Dec 10 16:40:00 GMT 2010


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



More information about the Gcc-cvs mailing list