This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50797] [x32] Use 32bit Pmode
- 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: Wed, 14 Mar 2012 22:20:23 +0000
- Subject: [Bug target/50797] [x32] Use 32bit Pmode
- Auto-submitted: auto-generated
- References: <bug-50797-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50797
--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-03-14 22:20:23 UTC ---
Author: hjl
Date: Wed Mar 14 22:20:17 2012
New Revision: 185396
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185396
Log:
Add -maddress-mode=short|long for x86
2012-03-14 H.J. Lu <hongjiu.lu@intel.com>
PR target/50797
* config/i386/i386-opts.h (pmode): New.
* config/i386/i386.c (ix86_option_override_internal): Properly
check and set ix86_pmode.
* config/i386/i386.h (Pmode): Check ix86_pmode instead of
TARGET_64BIT.
* config/i386/i386.opt (maddress-mode=): New.
* doc/invoke.texi: Document -maddress-mode=short|long for x86.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386-opts.h
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.h
trunk/gcc/config/i386/i386.opt
trunk/gcc/doc/invoke.texi