Fix x86_64-ism in selftest (PR bootstrap/78705)
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 7 Dec 2016 01:28:13 +0000 (01:28 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 7 Dec 2016 01:28:13 +0000 (01:28 +0000)
commitfd1c9a07d46aeece59c452105e3f2ece665bd7b8
tree2dffcbe3702e6e8fe78b4b8b4267e2659c87abdc
parentb9e8329d65e1779dcb15412a8048c4ad54ec6cb7
Fix x86_64-ism in selftest (PR bootstrap/78705)

In r243317 I accidentally introduced an assumption in a selftest
in i386.c that Pmode == DImode.  This patch conditionalizes the
overzealous string comparison to avoid breaking the build on
32-bit i386.c targets.

gcc/ChangeLog:
PR bootstrap/78705
* config/i386/i386.c (selftest::ix86_test_dumping_memory_blockage):
Conditionalize the string comparison on Pmode == DImode.

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