From 19019cd3019bbce97bf342e8e574c184e76665b1 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 16 May 2020 11:40:21 -0400 Subject: [PATCH] aix: xfail pure-virtual1.C expects weak __cxa_pure_virtual The testcase expects __cxa_pure_virtual to be weak to avoid an implicit dependency. This does not occur on AIX, so expect this testcase to fail on AIX. gcc/testsuite/ChangeLog 2020-06-11 David Edelsohn * g++.dg/abi/pure-virtual1.C: XFAIL AIX. --- gcc/testsuite/g++.dg/abi/pure-virtual1.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.dg/abi/pure-virtual1.C b/gcc/testsuite/g++.dg/abi/pure-virtual1.C index 823328ea951..86cc9f63db1 100644 --- a/gcc/testsuite/g++.dg/abi/pure-virtual1.C +++ b/gcc/testsuite/g++.dg/abi/pure-virtual1.C @@ -2,6 +2,7 @@ // { dg-do link } // { dg-require-weak } // { dg-additional-options "-fno-rtti -nodefaultlibs -lc" } +// { dg-xfail-if "AIX weak" { powerpc-ibm-aix* } } struct A { -- 2.30.2