[Bug target/81641] Assemble failure with named address spaces and -masm=intel
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 1 08:49:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81641
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2017-08-01
Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com
Target Milestone|--- |6.5
Ever confirmed|0 |1
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Patch in testing:
--cut here--
Index: i386.c
===================================================================
--- i386.c (revision 250757)
+++ i386.c (working copy)
@@ -19442,7 +19448,7 @@ ix86_print_operand_address_as (FILE *file, rtx add
/* Displacement only requires special attention. */
if (CONST_INT_P (disp))
{
- if (ASSEMBLER_DIALECT == ASM_INTEL && parts.seg ==
ADDR_SPACE_GENERIC)
+ if (ASSEMBLER_DIALECT == ASM_INTEL && ADDR_SPACE_GENERIC_P (as))
fputs ("ds:", file);
fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (disp));
}
--cut here--
More information about the Gcc-bugs
mailing list