This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Omit obsolete Darwin from XFAIL for g++.old-deja/g++.eh/badalloc1.C
On Wed, Dec 03, 2008 at 03:42:36PM -0800, Janis Johnson wrote:
> On Wed, 2008-12-03 at 14:38 -0800, Mike Stump wrote:
> > On Dec 3, 2008, at 6:09 AM, Jack Howarth wrote:
> > > Currently, g++.old-deja/g++.eh/badalloc1.C is XFAILing on
> > > x86_64-apple-darwin10 because of a XFAIL on darwin[1-7]*. Since
> > > these are all obsolete versions of darwin, this patch omits the
> > > *-*-darwin[1-7]* target from the XFAIL. Okay for gcc trunk?
> >
> > No, just change the 1-7 to be 3-7. Otherwise, ok.
>
> I applied this change, after first doing the one that Jack submitted.
>
I checked in this patch to fix the typo:
ERROR: tcl error sourcing /home/regress/tbox/svn-gcc/gcc/testsuite/g++.old-deja/old-deja.exp.
ERROR: unmatched open brace in list
H.J.
---
Index: ChangeLog
===================================================================
--- ChangeLog (revision 142427)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2008-12-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * g++.old-deja/g++.eh/badalloc1.C: Add the missing "}".
+
2008-12-03 Janis Johnson <janis187@us.ibm.com>
* g++.old-deja/g++.eh/badalloc1.C: Reinstate XFAIL for Darwin 3-7.
Index: g++.old-deja/g++.eh/badalloc1.C
===================================================================
--- g++.old-deja/g++.eh/badalloc1.C (revision 142427)
+++ g++.old-deja/g++.eh/badalloc1.C (working copy)
@@ -2,7 +2,7 @@
// __cxa_allocate_exception's emergency buffer mutex will
// itself call malloc(), and will fail if there is no more
// memory available.
-// { dg-do run { xfail { { xstormy16-*-* *-*-darwin[3-7]* } || vxworks_rtp } }
+// { dg-do run { xfail { { xstormy16-*-* *-*-darwin[3-7]* } || vxworks_rtp } } }
// Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 6 June 2000 <nathan@codesourcery.com>