From 82693c4421d8a372e538ff1bd385f9ac4a34ce6f Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 28 Sep 2020 20:39:36 -0400 Subject: [PATCH] testsuite: Skip symver1 on AIX. symver1.c only is valid on ELF targets. Add AIX to the skip list. gcc/testsuite/ChangeLog 2020-09-28 David Edelsohn * gcc.dg/ipa/symver1.c: Skip on AIX. --- gcc/testsuite/gcc.dg/ipa/symver1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/ipa/symver1.c b/gcc/testsuite/gcc.dg/ipa/symver1.c index fca52202cba..2cd02583669 100644 --- a/gcc/testsuite/gcc.dg/ipa/symver1.c +++ b/gcc/testsuite/gcc.dg/ipa/symver1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-skip-if "only works for ELF targets" { *-*-darwin* } } */ +/* { dg-skip-if "only works for ELF targets" { *-*-darwin* *-*-aix* } } */ __attribute__ ((__symver__ ("foo@VER_2"))) __attribute__ ((__symver__ ("foo@VER_3"))) -- 2.30.2