re PR target/82267 (x32: unnecessary address-size prefixes. Why isn't -maddress...
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Sep 2017 13:59:18 +0000 (15:59 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 26 Sep 2017 13:59:18 +0000 (15:59 +0200)
commit343cb5897c673cb75233f4d0a991c0bec11c1f53
tree43231805b3914f6ffa1f133e776d1b3872317670
parentcaab37632257b7b002da791d6372ab9136e0d54f
re PR target/82267 (x32: unnecessary address-size prefixes.  Why isn't -maddress-mode=long the default?)

PR target/82267
* config/i386/i386.c (ix86_print_operand_address_as): Only test
REGNO (base) == SP_REG if base is a REG.

From-SVN: r253202
gcc/ChangeLog
gcc/config/i386/i386.c