2006-10-03 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. Index: testsuite/27_io/ios_base/storage/2.cc =================================================================== --- testsuite/27_io/ios_base/storage/2.cc (revision 117408) +++ testsuite/27_io/ios_base/storage/2.cc (working copy) @@ -25,10 +25,11 @@ // 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 #include Index: testsuite/23_containers/vector/resize/1.cc =================================================================== --- testsuite/23_containers/vector/resize/1.cc (revision 117408) +++ testsuite/23_containers/vector/resize/1.cc (working copy) @@ -25,10 +25,11 @@ // 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 #include