This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/46804] [4.5/4.6 Regression] gfortran.dg/char_cshift_2.f90 FAILs with -fregmove


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46804

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-10 16:40:57 UTC ---
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]