OSDN Git Service

* g++.old-deja/g++.brendan/new3.C: Adjust test for mingw
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Dec 2011 10:01:29 +0000 (10:01 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Dec 2011 10:01:29 +0000 (10:01 +0000)
       targets to use static-version.
       * g++.old-deja/g++.abi/cxa_vec.C: Likewise.
       * g++.old-deja/g++.abi/arraynew.C: Likewise.
       * g++.old-deja/g++.eh/new1.C: Likewise.
       * g++.old-deja/g++.eh/new2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182721 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.abi/arraynew.C
gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
gcc/testsuite/g++.old-deja/g++.brendan/new3.C
gcc/testsuite/g++.old-deja/g++.eh/new1.C
gcc/testsuite/g++.old-deja/g++.eh/new2.C

index 3063567..4c2ee8a 100644 (file)
@@ -1,3 +1,12 @@
+2012-12-29  Kai Tietz  <ktietz@redhat.com>
+
+       * g++.old-deja/g++.brendan/new3.C: Adjust test for mingw
+       targets to use static-version.
+       * g++.old-deja/g++.abi/cxa_vec.C: Likewise.
+       * g++.old-deja/g++.abi/arraynew.C: Likewise.
+       * g++.old-deja/g++.eh/new1.C: Likewise.
+       * g++.old-deja/g++.eh/new2.C: Likewise.
+
 2011-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        * gfortran.dg/function_optimize_9.f90:  New test.
index 7efea81..2e11cae 100644 (file)
@@ -1,5 +1,7 @@
 // { dg-do run  }
 // Origin: Mark Mitchell <mark@codesourcery.com>
+// Avoid use of none-overridable new/delete operators in shared
+// { dg-options "-static" { target *-*-mingw* } }
 
 #if defined (__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100
 
index 8d098bf..f3d602f 100644 (file)
@@ -5,6 +5,8 @@
 // are resolved when the kernel is linked.
 // { dg-do run { xfail { powerpc-ibm-aix* || vxworks_kernel } } }
 // { dg-options "-flat_namespace" { target *-*-darwin[67]* } }
+// Avoid use of none-overridable new/delete operators in shared
+// { dg-options "-static" { target *-*-mingw* } }
 // Test __cxa_vec routines
 // Copyright (C) 2000, 2005 Free Software Foundation, Inc.
 // Contributed by Nathan Sidwell 7 Apr 2000 <nathan@nathan@codesourcery.com>
index 55c7dbb..cc716d5 100644 (file)
@@ -5,6 +5,8 @@
 // are resolved when the kernel is linked.
 // { dg-do run { xfail { powerpc-ibm-aix* || vxworks_kernel } } }
 // { dg-options "-flat_namespace" { target *-*-darwin[67]* } }
+// Avoid use of none-overridable new/delete operators in shared
+// { dg-options "-static" { target *-*-mingw* } }
 // GROUPS passed operator-new
 #include <stdio.h>
 #include <stdlib.h>
index e206f5b..929188f 100644 (file)
@@ -1,5 +1,7 @@
 // { dg-do run  }
 // Test that a throw in foo destroys the A, but does not free the memory.
+// Avoid use of none-overridable new/delete operators in shared
+// { dg-options "-static" { target *-*-mingw* } }
 
 #include <cstddef>
 #include <cstdlib>
index d5fd74b..f3e8982 100644 (file)
@@ -1,5 +1,7 @@
 // { dg-do run  }
 // 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* } }
 
 #include <cstddef>
 #include <cstdlib>