]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Skip powerpc tests on AIX.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 30 May 2023 16:21:50 +0000 (12:21 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 1 Jun 2023 17:16:12 +0000 (13:16 -0400)
AIX does not support -mstrict-align.

pr109566.c had skip directive in wrong order for DejaGNU.

* gcc.target/powerpc/pr100106-sa.c: Skip on AIX.
* gcc.target/powerpc/pr109566.c: Skip on AIX.

Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
gcc/testsuite/gcc.target/powerpc/pr100106-sa.c
gcc/testsuite/gcc.target/powerpc/pr109566.c

index 87634efa8d0b7d5bd6fa4e17d50dd2f4e787d899..d9248f75a75a01bc6b65d4c5ba5a363cbb7faa8e 100644 (file)
@@ -1,5 +1,6 @@
 /* Require ilp32 because -mcpu=604 won't do 64 bits.  */
 /* { dg-do compile { target { ilp32 } } } */
+/* { dg-skip-if "No strict-align for AIX" { powerpc-ibm-aix* } } */
 /* { dg-options "-mcpu=604 -O -mstrict-align" } */
 
 union a {
index bfbf922475536646ddcb4abcfbc2f863b1a4c19f..39751c663eec6c439a016e8c6ea8c56150955d51 100644 (file)
@@ -1,8 +1,8 @@
 /* PR target/109566 */
 /* Skip this on aix, otherwise it emits the error message like "64-bit
    computation with 32-bit addressing not yet supported" on aix.  */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-do compile } */
+/* { dg-skip-if "" { powerpc*-ibm-aix* } } */
 /* { dg-options "-O2 -mpowerpc64" } */
 
 void