aix: xfail pure-virtual1.C expects weak __cxa_pure_virtual
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 16 May 2020 15:40:21 +0000 (11:40 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 11 Jun 2020 13:11:42 +0000 (09:11 -0400)
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  <dje.gcc@gmail.com>

* g++.dg/abi/pure-virtual1.C: XFAIL AIX.

gcc/testsuite/g++.dg/abi/pure-virtual1.C

index 823328e..86cc9f6 100644 (file)
@@ -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
 {