This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/47727] [x32] Many passes can't handle const symbol when Pmode != ptr_mode
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Feb 2011 19:01:17 +0000
- Subject: [Bug middle-end/47727] [x32] Many passes can't handle const symbol when Pmode != ptr_mode
- Auto-submitted: auto-generated
- References: <bug-47727-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47727
--- Comment #9 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-02-14 19:00:55 UTC ---
Author: hjl
Date: Mon Feb 14 19:00:52 2011
New Revision: 170149
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170149
Log:
Permute the conversion and addition if one operand is a constant.
gcc/
2011-02-14 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/47727
* explow.c (convert_memory_address_addr_space): Permute the
conversion and addition if one operand is a constant.
gcc/testsuite/
2011-02-14 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/47727
* gcc.dg/pr47727.c: New.
Added:
branches/x32/gcc/testsuite/gcc.dg/pr47727.c
Modified:
branches/x32/gcc/ChangeLog.x32
branches/x32/gcc/explow.c
branches/x32/gcc/testsuite/ChangeLog.x32