This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

squish testsuite regressions on Darwin


The advice that we're going to give users is that if you want to
override new or delete on Jaguar or Panther, you need to use
-flat_namespace; this updates the testsuite to match.  (On Tiger, this
will not be necessary.)


===File ~/patches/gcc-testsuite-flatnamespace.patch=========
2005-01-01  Geoffrey Keating  <geoffk@geoffk.org>

	* g++.old-deja/g++.abi/cxa_vec.C: Add -flat_namespace on Darwin
	6 and 7.
	* g++.old-deja/g++.brendan/new3.C: Likewise.

Index: g++.old-deja/g++.abi/cxa_vec.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C,v
retrieving revision 1.7
diff -u -p -r1.7 cxa_vec.C
--- g++.old-deja/g++.abi/cxa_vec.C	16 Sep 2004 03:41:14 -0000	1.7
+++ g++.old-deja/g++.abi/cxa_vec.C	1 Jan 2005 21:47:29 -0000
@@ -1,6 +1,7 @@
 // { dg-do run { xfail powerpc-ibm-aix* } }
+// { dg-options "-flat_namespace" { target *-*-darwin[67]* } }
 // Test __cxa_vec routines
-// Copyright (C) 2000 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2005 Free Software Foundation, Inc.
 // Contributed by Nathan Sidwell 7 Apr 2000 <nathan@nathan@codesourcery.com>
 
 #if defined (__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100
Index: g++.old-deja/g++.brendan/new3.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.brendan/new3.C,v
retrieving revision 1.6
diff -u -p -r1.6 new3.C
--- g++.old-deja/g++.brendan/new3.C	7 Jun 2004 20:36:56 -0000	1.6
+++ g++.old-deja/g++.brendan/new3.C	1 Jan 2005 21:47:30 -0000
@@ -1,4 +1,5 @@
 // { dg-do run { xfail powerpc-ibm-aix* } }
+// { dg-options "-flat_namespace" { target *-*-darwin[67]* } }
 // GROUPS passed operator-new
 #include <stdio.h>
 #include <stdlib.h>
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]