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/54457] [x32] Fail to combine 64bit index + constant


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

--- Comment #5 from uros at gcc dot gnu.org 2012-10-01 15:00:50 UTC ---
Author: uros
Date: Mon Oct  1 15:00:41 2012
New Revision: 191928

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191928
Log:
        PR rtl-optimization/54457
        * simplify-rtx.c (simplify_subreg):
    Simplify (subreg:M (op:N ((x:N) (y:N)), 0)
         to (op:M (subreg:M (x:N) 0) (subreg:M (x:N) 0)), where
    the outer subreg is effectively a truncation to the original mode M.

testsuite/ChangeLog:

        PR rtl-optimization/54457
        * gcc.target/i386/pr54457.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr54457.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/simplify-rtx.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]