Commit 08a2f722 by Kai Tietz Committed by Kai Tietz

new3.C: Adjust test for mingw targets to use static-version.

       * 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.

From-SVN: r182721
parent d8e5eb57
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.
......
// { 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
......
......@@ -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>
......
......@@ -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>
......
// { 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>
......
// { 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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment