387-12.c: Require ia32 target instead of -m32
Commit Message
On x86-64,
$ make check RUNTESTFLAGS="--target_board='unix{-m32,}'"
can be used to test both 64-bit and 32-bit targets. Require ia32 target
instead of explicit -m32 for 32-bit only test.
* gcc.target/i386/387-12.c (dg-do compile): Require ia32.
(dg-options): Remove -m32.
---
gcc/testsuite/gcc.target/i386/387-12.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -1,6 +1,6 @@
/* PR target/26915 */
-/* { dg-do compile } */
-/* { dg-options "-O -m32 -mfpmath=387 -mfancy-math-387" } */
+/* { dg-do compile { target ia32 } } */
+/* { dg-options "-O -mfpmath=387 -mfancy-math-387" } */
double testm0(void)
{