This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52146] [x32] - Wrong code to access addresses 0x80000000 to 0xFFFFFFFF
- 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: Fri, 10 Feb 2012 18:23:16 +0000
- Subject: [Bug target/52146] [x32] - Wrong code to access addresses 0x80000000 to 0xFFFFFFFF
- Auto-submitted: auto-generated
- References: <bug-52146-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52146
--- Comment #14 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-02-10 18:23:16 UTC ---
Author: hjl
Date: Fri Feb 10 18:23:12 2012
New Revision: 184111
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184111
Log:
Disallow negative constant address for x32
gcc/
2012-02-10 Uros Bizjak <ubizjak@gmail.com>
PR target/52146
* config/i386/i386.c (ix86_legitimate_address_p): Disallow
negative constant address for x32.
gcc/testsuite/
2012-02-10 H.J. Lu <hongjiu.lu@intel.com>
PR target/52146
* gcc.target/i386/pr52146.c: New.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog