From 4da025598e08df7c236560d27298852a531d463c Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 23 Apr 2020 22:54:07 -0400 Subject: [PATCH] testsuite: Skip 90020.c on AIX. Like HP/UX, AIX does not support undefined weak, so skip this test in the testsuite. * gcc.dg/torture/pr90020.c: Skip on AIX.. --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/torture/pr90020.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1457b6dca2f..a955cd5f4f8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-04-23 David Edelsohn + + * gcc.dg/torture/pr90020.c: Skip on AIX. + 2020-04-23 David Edelsohn * g++.dg/cpp0x/lambda/pr94426-1.C: Require LTO. diff --git a/gcc/testsuite/gcc.dg/torture/pr90020.c b/gcc/testsuite/gcc.dg/torture/pr90020.c index 27d1ea41ddd..657c4ccfe45 100644 --- a/gcc/testsuite/gcc.dg/torture/pr90020.c +++ b/gcc/testsuite/gcc.dg/torture/pr90020.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "No undefined weak" { hppa*-*-hpux* } } */ +/* { dg-skip-if "No undefined weak" { hppa*-*-hpux* || powerpc-ibm-aix* } } */ /* { dg-require-weak "" } */ /* { dg-additional-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } */ /* { dg-additional-options "-Wl,-flat_namespace" { target *-*-darwin[89]* } } */ -- 2.30.2