This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]