From 82c7aae6edb583e85bb944080e66fea784f2d105 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 30 Nov 2016 15:07:28 +0000 Subject: [PATCH] new1.C: XFAIL on AIX. * g++.dg/eh/new1.C: XFAIL on AIX. * g++.dg/eh/delete1.C: Same. * g++.dg/init/new40.C: Same. * g++.old-deja/g++.eh/new2.C: Same. From-SVN: r243032 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/g++.dg/eh/delete1.C | 2 ++ gcc/testsuite/g++.dg/eh/new1.C | 1 + gcc/testsuite/g++.dg/init/new40.C | 1 + gcc/testsuite/g++.old-deja/g++.eh/new2.C | 1 + 5 files changed, 12 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d48c6b78236..e9c37c9c88c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-11-30 David Edelsohn + + * g++.dg/eh/new1.C: XFAIL on AIX. + * g++.dg/eh/delete1.C: Same. + * g++.dg/init/new40.C: Same. + * g++.old-deja/g++.eh/new2.C: Same. + 2016-11-30 David Malcolm PR c/78498 diff --git a/gcc/testsuite/g++.dg/eh/delete1.C b/gcc/testsuite/g++.dg/eh/delete1.C index 43d7bc077f0..64ccb50cbf7 100644 --- a/gcc/testsuite/g++.dg/eh/delete1.C +++ b/gcc/testsuite/g++.dg/eh/delete1.C @@ -1,4 +1,6 @@ // { dg-do run } +// { dg-xfail-run-if "AIX operator delete" { powerpc-ibm-aix* } } + // pr 55635, the delete operator must be called, regardless of whether // the dtor throws diff --git a/gcc/testsuite/g++.dg/eh/new1.C b/gcc/testsuite/g++.dg/eh/new1.C index 3126f192e18..2a68517b939 100644 --- a/gcc/testsuite/g++.dg/eh/new1.C +++ b/gcc/testsuite/g++.dg/eh/new1.C @@ -3,6 +3,7 @@ // right pointer to operator delete. // { dg-do run } +// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } } #include diff --git a/gcc/testsuite/g++.dg/init/new40.C b/gcc/testsuite/g++.dg/init/new40.C index 026712dc1a2..30d9de62a02 100644 --- a/gcc/testsuite/g++.dg/init/new40.C +++ b/gcc/testsuite/g++.dg/init/new40.C @@ -3,6 +3,7 @@ // In C++11 we throw bad_array_new_length instead. // { dg-options -std=c++03 } // { dg-do run } +// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } } #include #include diff --git a/gcc/testsuite/g++.old-deja/g++.eh/new2.C b/gcc/testsuite/g++.old-deja/g++.eh/new2.C index f3e8982a593..563a7949e44 100644 --- a/gcc/testsuite/g++.old-deja/g++.eh/new2.C +++ b/gcc/testsuite/g++.old-deja/g++.eh/new2.C @@ -2,6 +2,7 @@ // Test that a throw in B's constructor destroys the A and frees the memory. // Avoid use of none-overridable new/delete operators in shared // { dg-options "-static" { target *-*-mingw* } } +// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } } #include #include -- 2.30.2