From 58e93a261f8417364d3944867c95f1a1ca32513d Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Wed, 4 Oct 2006 07:57:34 +0000 Subject: [PATCH] 2.cc: Fail on Darwin 8.[0-4].* only. 2006-10-04 Benjamin Kosnik Mike Stump * testsuite/27_io/ios_base/storage/2.cc: Fail on Darwin 8.[0-4].* only. * testsuite/23_containers/vector/resize/1.cc: Same. Co-Authored-By: Mike Stump From-SVN: r117428 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/testsuite/23_containers/vector/resize/1.cc | 7 ++++--- libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc | 7 ++++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 93c78d4e515..b82931705cc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2006-10-04 Benjamin Kosnik + Mike Stump + + * testsuite/27_io/ios_base/storage/2.cc: Fail on Darwin 8.[0-4].* only. + * testsuite/23_containers/vector/resize/1.cc: Same. + 2006-10-04 Benjamin Kosnik * testsuite/util/performance/priority_queue/mem_usage/ diff --git a/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc b/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc index c6c813cb91c..da3114cdbe0 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc @@ -25,9 +25,10 @@ // XXX for very large allocations. However -lmalloc seems to work. // See http://gcc.gnu.org/ml/libstdc++/2002-12/msg00131.html // { dg-options "-lmalloc" { target mips*-*-irix6* } } -// This fails on Darwin 8 because malloc doesn't return NULL even -// if an allocation fails (filed as Radar 3884894). -// { dg-do run { xfail *-*-darwin8* } } + +// This fails on some versions of Darwin 8 because malloc doesn't return +// NULL even if an allocation fails (filed as Radar 3884894). +// { dg-do run { xfail *-*-darwin8.[0-4].* } } #include #include diff --git a/libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc b/libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc index 55792fa8a15..2272a463231 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc @@ -25,9 +25,10 @@ // XXX -lmalloc seems to work. // See http://gcc.gnu.org/ml/gcc/2002-05/msg01012.html // { dg-options "-lmalloc" { target mips*-*-irix6* } } -// This fails on Darwin 8 because malloc doesn't return NULL even -// if an allocation fails (filed as Radar 3884894). -// { dg-do run { xfail *-*-darwin8* } } + +// This fails on some versions of Darwin 8 because malloc doesn't return +// NULL even if an allocation fails (filed as Radar 3884894). +// { dg-do run { xfail *-*-darwin8.[0-4].* } } #include #include -- 2.30.2