testsuite: skip attr-retain-?.c on AIX
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 19 Feb 2021 23:38:18 +0000 (18:38 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 20 Feb 2021 02:46:02 +0000 (21:46 -0500)
The attr-retain-?.c tests assume ELF file syntax / semantics.  Some of the
tests skip AIX because of other requirements, and some explicitly skip
Darwin.  This patch adds AIX to the explicit skip list.

gcc/testsuite/ChangeLog:

* c-c++-common/attr-retain-5.c: Skip on AIX.
* c-c++-common/attr-retain-6.c: Same.
* c-c++-common/attr-retain-7.c: Same.
* c-c++-common/attr-retain-8.c: Same.
* c-c++-common/attr-retain-9.c: Same.

gcc/testsuite/c-c++-common/attr-retain-5.c
gcc/testsuite/c-c++-common/attr-retain-6.c
gcc/testsuite/c-c++-common/attr-retain-7.c
gcc/testsuite/c-c++-common/attr-retain-8.c
gcc/testsuite/c-c++-common/attr-retain-9.c

index 669fa90f24c88836bb42ce8330cfabcdae6eec70..ee6e2c4e054235b1d1b74ca94e053d181ab0b146 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-skip-if "non-ELF target" { *-*-darwin* } } */
+/* { dg-skip-if "non-ELF target" { *-*-darwin* powerpc*-*-aix* } } */
 /* { dg-options "-Wall -O2" } */
 
 struct dtv_slotinfo_list
index 1cf03a7d777f1fa32c3e6d6bc04faecfb7a9a2bd..9aead148ec8059e901650d5c11eec5db67c2071f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-skip-if "non-ELF target" { *-*-darwin* } } */
+/* { dg-skip-if "non-ELF target" { *-*-darwin* powerpc*-*-aix* } } */
 /* { dg-options "-Wall -O2" } */
 
 struct dtv_slotinfo_list
index 08f52fccc9fa0e20455c60255bb8623b3a0a36b4..4c1673583db39aa0589a91c3d90180312a1bdca3 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-skip-if "non-ELF target" { *-*-darwin* } } */
+/* { dg-skip-if "non-ELF target" { *-*-darwin* powerpc*-*-aix* } } */
 /* { dg-options "-Wall -O2" } */
 
 int __attribute__((used,retain,section(".data.foo"))) foo2 = 2;
index 2dbec9e14f0a6563f39b7c6b10d9efc71d105290..7e067f562740d9eb6a0276c26be089071624cb69 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-skip-if "non-ELF target" { *-*-darwin* } } */
+/* { dg-skip-if "non-ELF target" { *-*-darwin* powerpc*-*-aix* } } */
 /* { dg-options "-Wall -O2" } */
 
 int __attribute__((section(".data.foo"))) foo1 = 1;
index f26e25d2b77b9f087bc595397af36537a845cedb..81accc0ee915e6a22d13481146d67287166b7fca 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-skip-if "non-ELF target" { *-*-darwin* } } */
+/* { dg-skip-if "non-ELF target" { *-*-darwin* powerpc*-*-aix* } } */
 /* { dg-options "-Wall -O2" } */
 
 struct dtv_slotinfo_list