This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/66274] gcc6: x86 -m32 emits 64bit register in inline asm
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 May 2015 07:27:19 +0000
- Subject: [Bug inline-asm/66274] gcc6: x86 -m32 emits 64bit register in inline asm
- Auto-submitted: auto-generated
- References: <bug-66274-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66274
UroÅ Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-05-25
Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com
Target Milestone|--- |6.0
Ever confirmed|0 |1
--- Comment #1 from UroÅ Bizjak <ubizjak at gmail dot com> ---
Oops.
--cut here--
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c (revision 223641)
+++ config/i386/i386.c (working copy)
@@ -15229,7 +15229,7 @@ print_reg (rtx x, int code, FILE *file)
case 8:
case 4:
if (LEGACY_INT_REGNO_P (regno))
- putc (msize == 8 ? 'r' : 'e', file);
+ putc (msize == 8 && TARGET_64BIT ? 'r' : 'e', file);
case 16:
case 12:
case 2:
--cut here--