d: Adjust test to pass when compiling with -m32
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 5 Nov 2022 18:45:05 +0000 (19:45 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sat, 5 Nov 2022 18:49:03 +0000 (19:49 +0100)
commita111cfba4816765b55f4d5c82bc2b034047db92c
treea50578b31c466e725eb02a2f6d8c8967b80aad5c
parent3c28d6a3a018e9acb7af1422d6263661f69d5f94
d: Adjust test to pass when compiling with -m32

Noticed when running on x86_64-linux-gnu with `-m32', this test
triggered other errors.  Adjusted the test to use a different register
that is common between x86 and x86_64.

gcc/testsuite/ChangeLog:

* gdc.dg/attr_register2.d: Adjust test.
gcc/testsuite/gdc.dg/attr_register2.d