testsuite: Skip powerpc tests on AIX.

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>
This commit is contained in:
David Edelsohn 2023-05-30 12:21:50 -04:00
parent f8403c4304
commit ed54532e3d
2 changed files with 2 additions and 1 deletions

View 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 {

View 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