[RS6000] Unsupported test options for -m32
authorAlan Modra <amodra@gmail.com>
Sat, 24 Oct 2020 05:47:39 +0000 (16:17 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 27 Oct 2020 11:21:15 +0000 (21:51 +1030)
FAIL: gcc.target/powerpc/swaps-p8-22.c (test for excess errors)
Excess errors:
cc1: error: '-mcmodel' not supported in this configuration

* gcc.target/powerpc/swaps-p8-22.c: Enable only for aix and
-m64 linux.

gcc/testsuite/gcc.target/powerpc/swaps-p8-22.c

index 83f6ab3a1c08551ff03c2020446b9781b49bfc2a..847aebccca8cf9c3c54ff2598d7135b7076fcb0e 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target { *-*-aix* || { *-*-linux* && lp64 } } } } */
 /* { dg-require-effective-target powerpc_p8vector_ok } */
 /* { dg-options "-O2 -mdejagnu-cpu=power8 -maltivec -mcmodel=large" } */