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
This commit is contained in:
David Edelsohn 2016-11-30 15:07:28 +00:00 committed by David Edelsohn
parent 9e604f92fd
commit 82c7aae6ed
5 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2016-11-30 David Edelsohn <dje.gcc@gmail.com>
* 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 <dmalcolm@redhat.com>
PR c/78498

View File

@ -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

View File

@ -3,6 +3,7 @@
// right pointer to operator delete.
// { dg-do run }
// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } }
#include <new>

View File

@ -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 <assert.h>
#include <stdlib.h>

View File

@ -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 <cstddef>
#include <cstdlib>