re PR target/81641 (Assemble failure with named address spaces and -masm=intel)
authorUros Bizjak <ubizjak@gmail.com>
Tue, 1 Aug 2017 11:15:52 +0000 (13:15 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 1 Aug 2017 11:15:52 +0000 (13:15 +0200)
commit4f3e333a872427dc34a7235dc31431fc5c6cfd88
tree6fc7e85627329ff339a50b462201dc99ab49031b
parentb8bb5772c6cbb043e60229ecc68806d91efe079f
re PR target/81641 (Assemble failure with named address spaces and -masm=intel)

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.

From-SVN: r250769
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81641.c [new file with mode: 0644]