This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/54457] [x32] Fail to combine 64bit index + constant
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 01 Oct 2012 15:00:50 +0000
- Subject: [Bug rtl-optimization/54457] [x32] Fail to combine 64bit index + constant
- Auto-submitted: auto-generated
- References: <bug-54457-4@http.gcc.gnu.org/bugzilla/>
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