Fix x86_64-ism in selftest (PR bootstrap/78705)
commita08f9f8067b0090f257992cd2610f1e2dca4f9af
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2016 01:28:13 +0000 (7 01:28 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2016 01:28:13 +0000 (7 01:28 +0000)
tree2dffcbe3702e6e8fe78b4b8b4267e2659c87abdc
parentfcdd7053da0d5100dc0cc1ab7277026babee0611
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243332 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c