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: Thu, 14 Jul 2011 22:51:34 +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 #10 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-07-14 22:50:29 UTC ---
Author: hjl
Date: Thu Jul 14 22:50:26 2011
New Revision: 176289
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176289
Log:
Permute the conversion and addition for zero-extending.
2011-07-10 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 and we
are zero-extending. Call convert_memory_address_addr_space_1
instead convert_memory_address_addr_space.
Modified:
branches/x32/gcc/ChangeLog.x32
branches/x32/gcc/explow.c