https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81641
--- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Tue Aug 1 22:06:11 2017 New Revision: 250801 URL: https://gcc.gnu.org/viewcvs?rev=250801&root=gcc&view=rev Log: PR target/81641 * config/i386/i386.c (ix86_print_operand_address_as): For -masm=intel print "ds:" only for immediates in generic address space. testsuite/ChangeLog: PR target/81641 * gcc.target/i386/pr81641.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr81641.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/i386/i386.c branches/gcc-7-branch/gcc/testsuite/ChangeLog