diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2006-10-04 07:57:34 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2006-10-04 07:57:34 +0000 |
commit | 58e93a261f8417364d3944867c95f1a1ca32513d (patch) | |
tree | c81ed9724d383a717e2e9e12faee74245feb9fd6 | |
parent | fc53a8251da0a419ffc09ad00fac1136a814ecf4 (diff) | |
download | gcc-58e93a261f8417364d3944867c95f1a1ca32513d.zip gcc-58e93a261f8417364d3944867c95f1a1ca32513d.tar.gz gcc-58e93a261f8417364d3944867c95f1a1ca32513d.tar.bz2 |
2.cc: Fail on Darwin 8.[0-4].* only.
2006-10-04 Benjamin Kosnik <bkoz@redhat.com>
Mike Stump <mrs@apple.com>
* 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 <mrs@apple.com>
From-SVN: r117428
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/vector/resize/1.cc | 7 | ||||
-rw-r--r-- | 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 93c78d4..b829317 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,4 +1,10 @@ 2006-10-04 Benjamin Kosnik <bkoz@redhat.com> + Mike Stump <mrs@apple.com> + + * 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 <bkoz@redhat.com> * testsuite/util/performance/priority_queue/mem_usage/ pop_test.hpp: Correct typo. diff --git a/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc b/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc index c6c813c..da3114c 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 <vector> #include <stdexcept> 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 55792fa..2272a46 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 <sstream> #include <iostream> |