[Bug inline-asm/66274] gcc6: x86 -m32 emits 64bit register in inline asm
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon May 25 07:27:00 GMT 2015
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--
More information about the Gcc-bugs
mailing list