diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-16 11:24:36 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-16 11:24:36 +0000 |
commit | 368a5222accbe6129c727422cb27c5ced16c8e14 (patch) | |
tree | 9f09f929c327b5f92dacc8eff9b10d97e0b9b7e5 /libstdc++-v3 | |
parent | 98f8a6625d46b997746d77c24c3f4e693c3a1d3e (diff) | |
download | gcc-368a5222accbe6129c727422cb27c5ced16c8e14.tar.gz |
2005-03-16 Paolo Carlini <pcarlini@suse.de>
* testsuite/20_util/functional/binders.cc: Remove explicit
instantiations for non-weak systems.
* testsuite/20_util/memory/allocator/1.cc: Likewise.
* testsuite/20_util/memory/allocator/10378.cc: Likewise.
* testsuite/20_util/memory/allocator/10416.cc: Likewise.
* testsuite/20_util/memory/allocator/8230.cc: Likewise.
* testsuite/20_util/utility/rel_ops.cc: Likewise.
* testsuite/22_locale/ctype/is/char/2.cc: Likewise.
* testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
* testsuite/23_containers/deque/cons/1.cc: Likewise.
* testsuite/23_containers/deque/cons/2.cc: Likewise.
* testsuite/23_containers/deque/invalidation/1.cc: Likewise.
* testsuite/23_containers/deque/invalidation/2.cc: Likewise.
* testsuite/23_containers/deque/invalidation/3.cc: Likewise.
* testsuite/23_containers/deque/invalidation/4.cc: Likewise.
* testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
* testsuite/23_containers/deque/operators/1.cc: Likewise.
* testsuite/23_containers/list/capacity/1.cc: Likewise.
* testsuite/23_containers/list/cons/1.cc: Likewise.
* testsuite/23_containers/list/cons/2.cc: Likewise.
* testsuite/23_containers/list/cons/3.cc: Likewise.
* testsuite/23_containers/list/cons/4.cc: Likewise.
* testsuite/23_containers/list/cons/5.cc: Likewise.
* testsuite/23_containers/list/cons/6.cc: Likewise.
* testsuite/23_containers/list/cons/7.cc: Likewise.
* testsuite/23_containers/list/cons/8.cc: Likewise.
* testsuite/23_containers/list/cons/9.cc: Likewise.
* testsuite/23_containers/list/invalidation/1.cc: Likewise.
* testsuite/23_containers/list/invalidation/2.cc: Likewise.
* testsuite/23_containers/list/invalidation/3.cc: Likewise.
* testsuite/23_containers/list/invalidation/4.cc: Likewise.
* testsuite/23_containers/list/modifiers/1.cc: Likewise.
* testsuite/23_containers/list/modifiers/2.cc: Likewise.
* testsuite/23_containers/list/modifiers/3.cc: Likewise.
* testsuite/23_containers/list/operators/1.cc: Likewise.
* testsuite/23_containers/list/operators/2.cc: Likewise.
* testsuite/23_containers/list/operators/3.cc: Likewise.
* testsuite/23_containers/list/operators/4.cc: Likewise.
* testsuite/23_containers/map/insert/1.cc: Likewise.
* testsuite/23_containers/map/invalidation/1.cc: Likewise.
* testsuite/23_containers/map/invalidation/2.cc: Likewise.
* testsuite/23_containers/map/modifiers/swap.cc: Likewise.
* testsuite/23_containers/map/operators/1.cc: Likewise.
* testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
* testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
* testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
* testsuite/23_containers/multiset/insert/1.cc: Likewise.
* testsuite/23_containers/multiset/insert/2.cc: Likewise.
* testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
* testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
* testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
* testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
* testsuite/23_containers/queue/members/7157.cc: Likewise.
* testsuite/23_containers/set/insert/1.cc: Likewise.
* testsuite/23_containers/set/invalidation/1.cc: Likewise.
* testsuite/23_containers/set/invalidation/2.cc: Likewise.
* testsuite/23_containers/set/modifiers/swap.cc: Likewise.
* testsuite/23_containers/stack/members/7158.cc: Likewise.
* testsuite/23_containers/vector/bool/6886.cc: Likewise.
* testsuite/23_containers/vector/capacity/1.cc: Likewise.
* testsuite/23_containers/vector/capacity/8230.cc: Likewise.
* testsuite/23_containers/vector/cons/1.cc: Likewise.
* testsuite/23_containers/vector/cons/2.cc: Likewise.
* testsuite/23_containers/vector/cons/3.cc: Likewise.
* testsuite/23_containers/vector/cons/6513.cc: Likewise.
* testsuite/23_containers/vector/element_access/1.cc: Likewise.
* testsuite/23_containers/vector/invalidation/1.cc: Likewise.
* testsuite/23_containers/vector/invalidation/2.cc: Likewise.
* testsuite/23_containers/vector/invalidation/3.cc: Likewise.
* testsuite/23_containers/vector/invalidation/4.cc: Likewise.
* testsuite/23_containers/vector/modifiers/1.cc: Likewise.
* testsuite/23_containers/vector/modifiers/2.cc: Likewise.
* testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
* testsuite/23_containers/vector/resize/1.cc: Likewise.
* testsuite/24_iterators/back_insert_iterator.cc: Likewise.
* testsuite/24_iterators/front_insert_iterator.cc: Likewise.
* testsuite/24_iterators/insert_iterator.cc: Likewise.
* testsuite/24_iterators/iterator.cc: Likewise.
* testsuite/25_algorithms/copy/1.cc: Likewise.
* testsuite/25_algorithms/copy/2.cc: Likewise.
* testsuite/25_algorithms/copy/3.cc: Likewise.
* testsuite/25_algorithms/copy/4.cc: Likewise.
* testsuite/25_algorithms/equal.cc: Likewise.
* testsuite/25_algorithms/fill/1.cc: Likewise.
* testsuite/25_algorithms/fill/2.cc: Likewise.
* testsuite/25_algorithms/min_max.cc: Likewise.
* testsuite/25_algorithms/rotate.cc: Likewise.
* testsuite/25_algorithms/unique/1.cc: Likewise.
* testsuite/25_algorithms/unique/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
* testsuite/ext/concept_checks.cc: Likewise.
* testsuite/ext/hash_map/1.cc: Likewise.
* testsuite/ext/hash_set/1.cc: Likewise.
* testsuite/ext/rope/1.cc: Likewise.
* testsuite/ext/rope/2.cc: Likewise.
* testsuite/ext/rope/3.cc: Likewise.
* testsuite/thread/pthread1.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
* testsuite/thread/pthread7-rope.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96551 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
101 files changed, 209 insertions, 649 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 338228da8fa..540c73ab2a3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,107 @@ +2005-03-16 Paolo Carlini <pcarlini@suse.de> + + * testsuite/20_util/functional/binders.cc: Remove explicit + instantiations for non-weak systems. + * testsuite/20_util/memory/allocator/1.cc: Likewise. + * testsuite/20_util/memory/allocator/10378.cc: Likewise. + * testsuite/20_util/memory/allocator/10416.cc: Likewise. + * testsuite/20_util/memory/allocator/8230.cc: Likewise. + * testsuite/20_util/utility/rel_ops.cc: Likewise. + * testsuite/22_locale/ctype/is/char/2.cc: Likewise. + * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise. + * testsuite/23_containers/deque/cons/1.cc: Likewise. + * testsuite/23_containers/deque/cons/2.cc: Likewise. + * testsuite/23_containers/deque/invalidation/1.cc: Likewise. + * testsuite/23_containers/deque/invalidation/2.cc: Likewise. + * testsuite/23_containers/deque/invalidation/3.cc: Likewise. + * testsuite/23_containers/deque/invalidation/4.cc: Likewise. + * testsuite/23_containers/deque/modifiers/swap.cc: Likewise. + * testsuite/23_containers/deque/operators/1.cc: Likewise. + * testsuite/23_containers/list/capacity/1.cc: Likewise. + * testsuite/23_containers/list/cons/1.cc: Likewise. + * testsuite/23_containers/list/cons/2.cc: Likewise. + * testsuite/23_containers/list/cons/3.cc: Likewise. + * testsuite/23_containers/list/cons/4.cc: Likewise. + * testsuite/23_containers/list/cons/5.cc: Likewise. + * testsuite/23_containers/list/cons/6.cc: Likewise. + * testsuite/23_containers/list/cons/7.cc: Likewise. + * testsuite/23_containers/list/cons/8.cc: Likewise. + * testsuite/23_containers/list/cons/9.cc: Likewise. + * testsuite/23_containers/list/invalidation/1.cc: Likewise. + * testsuite/23_containers/list/invalidation/2.cc: Likewise. + * testsuite/23_containers/list/invalidation/3.cc: Likewise. + * testsuite/23_containers/list/invalidation/4.cc: Likewise. + * testsuite/23_containers/list/modifiers/1.cc: Likewise. + * testsuite/23_containers/list/modifiers/2.cc: Likewise. + * testsuite/23_containers/list/modifiers/3.cc: Likewise. + * testsuite/23_containers/list/operators/1.cc: Likewise. + * testsuite/23_containers/list/operators/2.cc: Likewise. + * testsuite/23_containers/list/operators/3.cc: Likewise. + * testsuite/23_containers/list/operators/4.cc: Likewise. + * testsuite/23_containers/map/insert/1.cc: Likewise. + * testsuite/23_containers/map/invalidation/1.cc: Likewise. + * testsuite/23_containers/map/invalidation/2.cc: Likewise. + * testsuite/23_containers/map/modifiers/swap.cc: Likewise. + * testsuite/23_containers/map/operators/1.cc: Likewise. + * testsuite/23_containers/multimap/invalidation/1.cc: Likewise. + * testsuite/23_containers/multimap/invalidation/2.cc: Likewise. + * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise. + * testsuite/23_containers/multiset/insert/1.cc: Likewise. + * testsuite/23_containers/multiset/insert/2.cc: Likewise. + * testsuite/23_containers/multiset/invalidation/1.cc: Likewise. + * testsuite/23_containers/multiset/invalidation/2.cc: Likewise. + * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise. + * testsuite/23_containers/priority_queue/members/7161.cc: Likewise. + * testsuite/23_containers/queue/members/7157.cc: Likewise. + * testsuite/23_containers/set/insert/1.cc: Likewise. + * testsuite/23_containers/set/invalidation/1.cc: Likewise. + * testsuite/23_containers/set/invalidation/2.cc: Likewise. + * testsuite/23_containers/set/modifiers/swap.cc: Likewise. + * testsuite/23_containers/stack/members/7158.cc: Likewise. + * testsuite/23_containers/vector/bool/6886.cc: Likewise. + * testsuite/23_containers/vector/capacity/1.cc: Likewise. + * testsuite/23_containers/vector/capacity/8230.cc: Likewise. + * testsuite/23_containers/vector/cons/1.cc: Likewise. + * testsuite/23_containers/vector/cons/2.cc: Likewise. + * testsuite/23_containers/vector/cons/3.cc: Likewise. + * testsuite/23_containers/vector/cons/6513.cc: Likewise. + * testsuite/23_containers/vector/element_access/1.cc: Likewise. + * testsuite/23_containers/vector/invalidation/1.cc: Likewise. + * testsuite/23_containers/vector/invalidation/2.cc: Likewise. + * testsuite/23_containers/vector/invalidation/3.cc: Likewise. + * testsuite/23_containers/vector/invalidation/4.cc: Likewise. + * testsuite/23_containers/vector/modifiers/1.cc: Likewise. + * testsuite/23_containers/vector/modifiers/2.cc: Likewise. + * testsuite/23_containers/vector/modifiers/swap.cc: Likewise. + * testsuite/23_containers/vector/resize/1.cc: Likewise. + * testsuite/24_iterators/back_insert_iterator.cc: Likewise. + * testsuite/24_iterators/front_insert_iterator.cc: Likewise. + * testsuite/24_iterators/insert_iterator.cc: Likewise. + * testsuite/24_iterators/iterator.cc: Likewise. + * testsuite/25_algorithms/copy/1.cc: Likewise. + * testsuite/25_algorithms/copy/2.cc: Likewise. + * testsuite/25_algorithms/copy/3.cc: Likewise. + * testsuite/25_algorithms/copy/4.cc: Likewise. + * testsuite/25_algorithms/equal.cc: Likewise. + * testsuite/25_algorithms/fill/1.cc: Likewise. + * testsuite/25_algorithms/fill/2.cc: Likewise. + * testsuite/25_algorithms/min_max.cc: Likewise. + * testsuite/25_algorithms/rotate.cc: Likewise. + * testsuite/25_algorithms/unique/1.cc: Likewise. + * testsuite/25_algorithms/unique/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. + * testsuite/ext/concept_checks.cc: Likewise. + * testsuite/ext/hash_map/1.cc: Likewise. + * testsuite/ext/hash_set/1.cc: Likewise. + * testsuite/ext/rope/1.cc: Likewise. + * testsuite/ext/rope/2.cc: Likewise. + * testsuite/ext/rope/3.cc: Likewise. + * testsuite/thread/pthread1.cc: Likewise. + * testsuite/thread/pthread4.cc: Likewise. + * testsuite/thread/pthread5.cc: Likewise. + * testsuite/thread/pthread6.cc: Likewise. + * testsuite/thread/pthread7-rope.cc: Likewise. + 2005-03-15 Zack Weinberg <zack@codesourcery.com> * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc diff --git a/libstdc++-v3/testsuite/20_util/functional/binders.cc b/libstdc++-v3/testsuite/20_util/functional/binders.cc index 28de474a41d..dfcd41957d5 100644 --- a/libstdc++-v3/testsuite/20_util/functional/binders.cc +++ b/libstdc++-v3/testsuite/20_util/functional/binders.cc @@ -1,6 +1,6 @@ // 2001-06-11 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -43,11 +43,6 @@ void test01() std::bind2nd(std::mem_fun_ref(&Elem::modify), 42)); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<Elem>; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/20_util/memory/allocator/1.cc b/libstdc++-v3/testsuite/20_util/memory/allocator/1.cc index d34c8daf9c9..28da99735ea 100644 --- a/libstdc++-v3/testsuite/20_util/memory/allocator/1.cc +++ b/libstdc++-v3/testsuite/20_util/memory/allocator/1.cc @@ -1,6 +1,6 @@ // 2001-06-14 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -43,11 +43,6 @@ void operator delete(void *v) throw() return std::free(v); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<gnu>; -#endif - void test01() { bool test __attribute__((unused)) = true; diff --git a/libstdc++-v3/testsuite/20_util/memory/allocator/10378.cc b/libstdc++-v3/testsuite/20_util/memory/allocator/10378.cc index 2ac77eaaf16..308a2e126e8 100644 --- a/libstdc++-v3/testsuite/20_util/memory/allocator/10378.cc +++ b/libstdc++-v3/testsuite/20_util/memory/allocator/10378.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -39,11 +39,6 @@ void test01() uniset.push_back(Bob()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<Bob> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/20_util/memory/allocator/14176.cc b/libstdc++-v3/testsuite/20_util/memory/allocator/14176.cc index cb8a2f5c4bf..e83e46c63bf 100644 --- a/libstdc++-v3/testsuite/20_util/memory/allocator/14176.cc +++ b/libstdc++-v3/testsuite/20_util/memory/allocator/14176.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -30,11 +30,6 @@ void test02() a.deallocate(p, len); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/20_util/memory/allocator/8230.cc b/libstdc++-v3/testsuite/20_util/memory/allocator/8230.cc index 95b6cbee55f..d8d5f691963 100644 --- a/libstdc++-v3/testsuite/20_util/memory/allocator/8230.cc +++ b/libstdc++-v3/testsuite/20_util/memory/allocator/8230.cc @@ -1,6 +1,6 @@ // 2001-06-14 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -47,11 +47,6 @@ void test02() VERIFY( test ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/20_util/utility/rel_ops.cc b/libstdc++-v3/testsuite/20_util/utility/rel_ops.cc index b11af2a0302..2a121ee8264 100644 --- a/libstdc++-v3/testsuite/20_util/utility/rel_ops.cc +++ b/libstdc++-v3/testsuite/20_util/utility/rel_ops.cc @@ -1,6 +1,6 @@ // 2002-04-13 Paolo Carlini <pcarlini@unitus.it> -// Copyright (C) 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -38,11 +38,6 @@ void test01() vi >= v.begin(); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc b/libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc index 4192b806f4a..90c8a850e5a 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc @@ -1,5 +1,6 @@ // { dg-do run { xfail *-*-![linux]* } } -// Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -97,10 +98,6 @@ void test02() VERIFY( v_c != v_de ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::ctype_base::mask>; -#endif int main() { test02(); diff --git a/libstdc++-v3/testsuite/22_locale/ctype/is/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/ctype/is/wchar_t/2.cc index f5a7d6d59c1..658135b5550 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype/is/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype/is/wchar_t/2.cc @@ -1,5 +1,6 @@ // { dg-do run { xfail *-*-![linux]* } } -// Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -97,11 +98,6 @@ void test02() VERIFY( v_c != v_de ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::ctype_base::mask>; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/deque/cons/1.cc b/libstdc++-v3/testsuite/23_containers/deque/cons/1.cc index 5a32c78eae8..3e3458672a2 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/cons/1.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/cons/1.cc @@ -1,6 +1,6 @@ // 2001-12-27 pme // -// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -42,12 +42,6 @@ test01() assert_count (0); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_test::counter>; -template class __gnu_cxx::__mt_alloc<__gnu_test::counter*>; -#endif - int main() { // specific bug fix checks diff --git a/libstdc++-v3/testsuite/23_containers/deque/cons/2.cc b/libstdc++-v3/testsuite/23_containers/deque/cons/2.cc index 64365b0502c..81301a560a6 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/cons/2.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/cons/2.cc @@ -1,6 +1,6 @@ // 2001-12-27 pme // -// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -499,14 +499,6 @@ test_copy_ctor_exception_safety() // teardown } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -template class __gnu_cxx::__mt_alloc<int*>; -template class __gnu_cxx::__mt_alloc<__gnu_test::copy_tracker>; -template class __gnu_cxx::__mt_alloc<__gnu_test::copy_tracker*>; -#endif - int main() { // basic functionality and standard conformance checks diff --git a/libstdc++-v3/testsuite/23_containers/deque/invalidation/1.cc b/libstdc++-v3/testsuite/23_containers/deque/invalidation/1.cc index 506f0e9fad3..6bfd074523a 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/invalidation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/invalidation/1.cc @@ -1,6 +1,6 @@ // Deque iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -46,12 +46,6 @@ void test01() VERIFY(i._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int*>; -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/deque/invalidation/2.cc b/libstdc++-v3/testsuite/23_containers/deque/invalidation/2.cc index 9aa1e573e99..ea401a9f725 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/invalidation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/invalidation/2.cc @@ -1,6 +1,6 @@ // Deque iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -46,12 +46,6 @@ void test02() VERIFY(before._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int*>; -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/deque/invalidation/3.cc b/libstdc++-v3/testsuite/23_containers/deque/invalidation/3.cc index fe374984cfb..e6978e02fd2 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/invalidation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/invalidation/3.cc @@ -1,6 +1,6 @@ // Deque iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -56,12 +56,6 @@ void test03() VERIFY(at._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int*>; -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/deque/invalidation/4.cc b/libstdc++-v3/testsuite/23_containers/deque/invalidation/4.cc index 8300fa57a75..acbcd3ddec2 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/invalidation/4.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/invalidation/4.cc @@ -1,6 +1,6 @@ // Deque iterator invalidation tests -// Copyright (C) 2003 Free Software Foundation, Inc. +// Copyright (C) 2003, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -68,12 +68,6 @@ void test04() VERIFY(before._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int*>; -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test04(); diff --git a/libstdc++-v3/testsuite/23_containers/deque/modifiers/swap.cc b/libstdc++-v3/testsuite/23_containers/deque/modifiers/swap.cc index 43dc6867d3d..c835b303635 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/modifiers/swap.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation +// Copyright (C) 2004, 2005 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -54,11 +54,6 @@ void test02() VERIFY(1 == swap_calls); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -template class __gnu_cxx::__mt_alloc<T>; -template class __gnu_cxx::__mt_alloc<T*>; -#endif - // See c++/13658 for background info. int main() { diff --git a/libstdc++-v3/testsuite/23_containers/deque/operators/1.cc b/libstdc++-v3/testsuite/23_containers/deque/operators/1.cc index 20cdfaceae8..335cd9e3c84 100644 --- a/libstdc++-v3/testsuite/23_containers/deque/operators/1.cc +++ b/libstdc++-v3/testsuite/23_containers/deque/operators/1.cc @@ -1,6 +1,6 @@ // 2002-05-18 Paolo Carlini <pcarlini@unitus.it> -// Copyright (C) 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -77,12 +77,6 @@ void test02() VERIFY( constend - beg > 0 ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int*>; -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/list/capacity/1.cc b/libstdc++-v3/testsuite/23_containers/list/capacity/1.cc index b19a7b13978..fd08e34e062 100644 --- a/libstdc++-v3/testsuite/23_containers/list/capacity/1.cc +++ b/libstdc++-v3/testsuite/23_containers/list/capacity/1.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -59,11 +59,6 @@ test01() VERIFY(list0101.size() == 0); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/1.cc b/libstdc++-v3/testsuite/23_containers/list/cons/1.cc index 92a5992ca2b..b53a6da6e13 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/1.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/1.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -71,11 +71,6 @@ test01() // allocator checks? } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<A<B> > >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/2.cc b/libstdc++-v3/testsuite/23_containers/list/cons/2.cc index b837d85a386..a02102bffa7 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/2.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/2.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -75,13 +75,6 @@ test02() VERIFY(list0203.size() == LIST_SIZE); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<A<B> > >; -template class __gnu_cxx::__mt_alloc<int>; -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/3.cc b/libstdc++-v3/testsuite/23_containers/list/cons/3.cc index 61e6aefc00a..3b90961aa0c 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/3.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/3.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -52,11 +52,6 @@ test02D() VERIFY(list0204.size() == LIST_SIZE); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<C> >; -#endif - int main() { test02D(); diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/4.cc b/libstdc++-v3/testsuite/23_containers/list/cons/4.cc index 4b84342fd98..76b147d7227 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/4.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -58,11 +58,6 @@ test03() VERIFY(list0302.size() == N); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/5.cc b/libstdc++-v3/testsuite/23_containers/list/cons/5.cc index 89e5308cc88..c44ed9fdd91 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/5.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/5.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -49,11 +49,6 @@ test04() VERIFY(list0401.size() == N); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test04(); diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/6.cc b/libstdc++-v3/testsuite/23_containers/list/cons/6.cc index a302c59a9a5..a44f1278372 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/6.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -62,11 +62,6 @@ test05() VERIFY(list0501.size() == M); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test05(); diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/7.cc b/libstdc++-v3/testsuite/23_containers/list/cons/7.cc index 16a8f902611..49d74dfb76e 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/7.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/7.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -63,11 +63,6 @@ test06() VERIFY(list0601.size() == SMALL_LIST_SIZE); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test06(); diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/8.cc b/libstdc++-v3/testsuite/23_containers/list/cons/8.cc index 1d70d3c8978..430dc9cd2e4 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/8.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/8.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -56,11 +56,6 @@ test06D() VERIFY(list0604.size() == LIST_SIZE); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<C> >; -#endif - int main() { test06D(); diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/9.cc b/libstdc++-v3/testsuite/23_containers/list/cons/9.cc index 21a1e584714..f83363021fe 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/9.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/9.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -56,11 +56,6 @@ test07() VERIFY(list0702 == list0701); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test07(); diff --git a/libstdc++-v3/testsuite/23_containers/list/invalidation/1.cc b/libstdc++-v3/testsuite/23_containers/list/invalidation/1.cc index 571a69b473d..4812a56f105 100644 --- a/libstdc++-v3/testsuite/23_containers/list/invalidation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/list/invalidation/1.cc @@ -1,6 +1,6 @@ // List iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -53,11 +53,6 @@ void test01() VERIFY(!finish._M_dereferenceable() && !finish._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/list/invalidation/2.cc b/libstdc++-v3/testsuite/23_containers/list/invalidation/2.cc index e6b04bdf371..a793997edae 100644 --- a/libstdc++-v3/testsuite/23_containers/list/invalidation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/list/invalidation/2.cc @@ -1,6 +1,6 @@ // List iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -48,11 +48,6 @@ void test02() VERIFY(!finish._M_singular() && !finish._M_dereferenceable()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/list/invalidation/3.cc b/libstdc++-v3/testsuite/23_containers/list/invalidation/3.cc index 58493078b83..4691c81fbd5 100644 --- a/libstdc++-v3/testsuite/23_containers/list/invalidation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/list/invalidation/3.cc @@ -1,6 +1,6 @@ // List iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -71,11 +71,6 @@ void test03() VERIFY(!finish._M_singular() && !finish._M_dereferenceable()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc b/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc index 3c11fd6733c..a831b4893de 100644 --- a/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc +++ b/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc @@ -1,6 +1,6 @@ // List iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -48,11 +48,6 @@ void test04() VERIFY(after2._M_attached_to(&l2)); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test04(); diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/1.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/1.cc index 5d95467b995..ba00fdf95a5 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/1.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/1.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -112,12 +112,6 @@ test03() VERIFY(e == list0301.end()); } -#if !__GXX_WEAK__ && defined(_MT_ALLOCATOR_H) -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_test::copy_tracker>; -template class __gnu_cxx::__mt_alloc<std::_List_node<__gnu_test::copy_tracker> >; -#endif - int main() { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/2.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/2.cc index 21c8b73e687..6aca9d9460e 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/2.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/2.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -84,12 +84,6 @@ test02() VERIFY(T::dtorCount() == 0); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_test::copy_tracker>; -template class __gnu_cxx::__mt_alloc<std::_List_node<__gnu_test::copy_tracker> >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc index dda9d9afee2..720310f5501 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -116,12 +116,6 @@ test01() VERIFY(k->id() == 1); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_test::copy_tracker>; -template class __gnu_cxx::__mt_alloc<std::_List_node<__gnu_test::copy_tracker> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/list/operators/1.cc b/libstdc++-v3/testsuite/23_containers/list/operators/1.cc index 1b837751a21..7848fa027c7 100644 --- a/libstdc++-v3/testsuite/23_containers/list/operators/1.cc +++ b/libstdc++-v3/testsuite/23_containers/list/operators/1.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -66,11 +66,6 @@ test01() VERIFY(p == list0101.end()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main(void) { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/list/operators/2.cc b/libstdc++-v3/testsuite/23_containers/list/operators/2.cc index 4cdc27e664d..90af8c52299 100644 --- a/libstdc++-v3/testsuite/23_containers/list/operators/2.cc +++ b/libstdc++-v3/testsuite/23_containers/list/operators/2.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -52,11 +52,6 @@ test02() VERIFY(list0201 == list0204); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/list/operators/3.cc b/libstdc++-v3/testsuite/23_containers/list/operators/3.cc index 4919cd1e80e..37e14b7140d 100644 --- a/libstdc++-v3/testsuite/23_containers/list/operators/3.cc +++ b/libstdc++-v3/testsuite/23_containers/list/operators/3.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -66,11 +66,6 @@ test03() VERIFY(list0301 == list0304); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main(void) { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/list/operators/4.cc b/libstdc++-v3/testsuite/23_containers/list/operators/4.cc index 2bfe127653d..caf13b50bb2 100644 --- a/libstdc++-v3/testsuite/23_containers/list/operators/4.cc +++ b/libstdc++-v3/testsuite/23_containers/list/operators/4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -90,11 +90,6 @@ test04() #endif } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test04(); diff --git a/libstdc++-v3/testsuite/23_containers/map/insert/1.cc b/libstdc++-v3/testsuite/23_containers/map/insert/1.cc index 8c15aec5352..33bee2f679b 100644 --- a/libstdc++-v3/testsuite/23_containers/map/insert/1.cc +++ b/libstdc++-v3/testsuite/23_containers/map/insert/1.cc @@ -1,6 +1,6 @@ // 2001-08-23 pme & Sylvain.Pion@sophia.inria.fr -// Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -60,12 +60,6 @@ void test01() VERIFY ( M.find(9) != M.end() ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::pair<int const, int> >; -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int const, int> > >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/map/invalidation/1.cc b/libstdc++-v3/testsuite/23_containers/map/invalidation/1.cc index 667c66338af..2e9c24f8a5e 100644 --- a/libstdc++-v3/testsuite/23_containers/map/invalidation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/map/invalidation/1.cc @@ -1,6 +1,6 @@ // Map iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -45,11 +45,6 @@ void test01() VERIFY(!finish._M_dereferenceable() && !finish._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int const, int> > >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/map/invalidation/2.cc b/libstdc++-v3/testsuite/23_containers/map/invalidation/2.cc index b35d70ebdf5..eac7aeaa37f 100644 --- a/libstdc++-v3/testsuite/23_containers/map/invalidation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/map/invalidation/2.cc @@ -1,6 +1,6 @@ // Map iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -64,11 +64,6 @@ void test02() VERIFY(!finish._M_singular() && !finish._M_dereferenceable()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int const, int> > >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/swap.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/swap.cc index b283b1c358b..889ac69aa55 100644 --- a/libstdc++-v3/testsuite/23_containers/map/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/swap.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation +// Copyright (C) 2004, 2005 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -57,10 +57,6 @@ void test02() VERIFY(1 == swap_calls); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<T const, int> > >; -#endif - // See c++/13658 for background info. int main() { diff --git a/libstdc++-v3/testsuite/23_containers/map/operators/1.cc b/libstdc++-v3/testsuite/23_containers/map/operators/1.cc index 4a54f388962..2da51e86805 100644 --- a/libstdc++-v3/testsuite/23_containers/map/operators/1.cc +++ b/libstdc++-v3/testsuite/23_containers/map/operators/1.cc @@ -1,6 +1,6 @@ // 2000-09-07 bgarcia@laurelnetworks.com -// Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -42,11 +42,6 @@ void test02() std::cerr << i->second << ' '; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int const, int> > >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/multimap/invalidation/1.cc b/libstdc++-v3/testsuite/23_containers/multimap/invalidation/1.cc index 6246604d1cf..69bb529a1ef 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/invalidation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/invalidation/1.cc @@ -1,6 +1,6 @@ // Multimap iterator invalidation tests -// Copyright (C) 2003 Free Software Foundation, Inc. +// Copyright (C) 2003, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -46,11 +46,6 @@ void test01() VERIFY(!finish._M_dereferenceable() && !finish._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int const, int> > >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/multimap/invalidation/2.cc b/libstdc++-v3/testsuite/23_containers/multimap/invalidation/2.cc index 07fe8d62fae..1de9d278a77 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/invalidation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/invalidation/2.cc @@ -1,6 +1,6 @@ // Multimap iterator invalidation tests -// Copyright (C) 2003 Free Software Foundation, Inc. +// Copyright (C) 2003, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -65,11 +65,6 @@ void test02() VERIFY(!finish._M_singular() && !finish._M_dereferenceable()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int const, int> > >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/swap.cc b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/swap.cc index cc50a53990d..5a17d76a6e0 100644 --- a/libstdc++-v3/testsuite/23_containers/multimap/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/multimap/modifiers/swap.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation +// Copyright (C) 2004, 2005 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -57,10 +57,6 @@ void test02() VERIFY(1 == swap_calls); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<T const, int> > >; -#endif - // See c++/13658 for background info. int main() { diff --git a/libstdc++-v3/testsuite/23_containers/multiset/insert/1.cc b/libstdc++-v3/testsuite/23_containers/multiset/insert/1.cc index 4c9dc80d45e..38de31389ea 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/insert/1.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/insert/1.cc @@ -1,6 +1,6 @@ // 1999-06-24 bkoz -// Copyright (C) 1999, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -37,11 +37,6 @@ bool operator<(std::pair<int, int> const& lhs, std::pair<int, int> const& rhs) { return lhs.first < rhs.first; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int, int> > >; -#endif - int main () { bool test __attribute__((unused)) = true; diff --git a/libstdc++-v3/testsuite/23_containers/multiset/insert/2.cc b/libstdc++-v3/testsuite/23_containers/multiset/insert/2.cc index 6f586e4eac1..8acf859c07d 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/insert/2.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/insert/2.cc @@ -85,11 +85,6 @@ void test01() VERIFY( ms0 == ms1 ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<int> >; -#endif - int main () { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/multiset/invalidation/1.cc b/libstdc++-v3/testsuite/23_containers/multiset/invalidation/1.cc index c5c9106057d..d860183e0da 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/invalidation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/invalidation/1.cc @@ -1,6 +1,6 @@ // Multiset iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -45,11 +45,6 @@ void test01() VERIFY(!finish._M_dereferenceable() && !finish._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<int> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/multiset/invalidation/2.cc b/libstdc++-v3/testsuite/23_containers/multiset/invalidation/2.cc index e0168170878..1a2ec3612b4 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/invalidation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/invalidation/2.cc @@ -1,6 +1,6 @@ // Multiset iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -63,11 +63,6 @@ void test02() VERIFY(!finish._M_singular() && !finish._M_dereferenceable()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<int> >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/swap.cc b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/swap.cc index 4b422649a6a..5c9315415ec 100644 --- a/libstdc++-v3/testsuite/23_containers/multiset/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/multiset/modifiers/swap.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation +// Copyright (C) 2004, 2005 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -57,10 +57,6 @@ void test02() VERIFY(1 == swap_calls); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<T> >; -#endif - // See c++/13658 for background info. int main() { diff --git a/libstdc++-v3/testsuite/23_containers/priority_queue/members/7161.cc b/libstdc++-v3/testsuite/23_containers/priority_queue/members/7161.cc index 613a924c84a..64c68c5e25f 100644 --- a/libstdc++-v3/testsuite/23_containers/priority_queue/members/7161.cc +++ b/libstdc++-v3/testsuite/23_containers/priority_queue/members/7161.cc @@ -1,6 +1,6 @@ // 2002-06-28 pme -// Copyright (C) 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -43,11 +43,6 @@ test03() pq.pop(); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/queue/members/7157.cc b/libstdc++-v3/testsuite/23_containers/queue/members/7157.cc index b0875d06205..523d50a66da 100644 --- a/libstdc++-v3/testsuite/23_containers/queue/members/7157.cc +++ b/libstdc++-v3/testsuite/23_containers/queue/members/7157.cc @@ -1,6 +1,6 @@ // 2002-06-28 pme -// Copyright (C) 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,12 +34,6 @@ test01() q.pop(); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -template class __gnu_cxx::__mt_alloc<int*>; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/set/insert/1.cc b/libstdc++-v3/testsuite/23_containers/set/insert/1.cc index 7d1ef2f9d34..0bd42fe02ab 100644 --- a/libstdc++-v3/testsuite/23_containers/set/insert/1.cc +++ b/libstdc++-v3/testsuite/23_containers/set/insert/1.cc @@ -85,11 +85,6 @@ void test01() VERIFY( s0 == s1 ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<int> >; -#endif - int main () { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/set/invalidation/1.cc b/libstdc++-v3/testsuite/23_containers/set/invalidation/1.cc index 071d9e22c20..f279c28101f 100644 --- a/libstdc++-v3/testsuite/23_containers/set/invalidation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/set/invalidation/1.cc @@ -1,6 +1,6 @@ // Set iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -45,11 +45,6 @@ void test01() VERIFY(!finish._M_dereferenceable() && !finish._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<int> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/set/invalidation/2.cc b/libstdc++-v3/testsuite/23_containers/set/invalidation/2.cc index 0978b815f5b..96be957a5cb 100644 --- a/libstdc++-v3/testsuite/23_containers/set/invalidation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/set/invalidation/2.cc @@ -1,6 +1,6 @@ // Set iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -64,11 +64,6 @@ void test02() VERIFY(!finish._M_singular() && !finish._M_dereferenceable()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<int> >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/set/modifiers/swap.cc b/libstdc++-v3/testsuite/23_containers/set/modifiers/swap.cc index 43525ff5a85..6cde4f1ff7c 100644 --- a/libstdc++-v3/testsuite/23_containers/set/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/set/modifiers/swap.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation +// Copyright (C) 2004, 2005 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -57,10 +57,6 @@ void test02() VERIFY(1 == swap_calls); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<T> >; -#endif - // See c++/13658 for background info. int main() { diff --git a/libstdc++-v3/testsuite/23_containers/stack/members/7158.cc b/libstdc++-v3/testsuite/23_containers/stack/members/7158.cc index bbb5bbd142a..a3d173a7f84 100644 --- a/libstdc++-v3/testsuite/23_containers/stack/members/7158.cc +++ b/libstdc++-v3/testsuite/23_containers/stack/members/7158.cc @@ -1,6 +1,6 @@ // 2002-06-28 pme -// Copyright (C) 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,12 +34,6 @@ test02() st.pop(); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int*>; -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/6886.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/6886.cc index 88cac68d665..72a043d0e71 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/6886.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/6886.cc @@ -1,6 +1,6 @@ // 2002-03-05 Stephen M. Webb <stephen.webb@bregmasoft.com> -// Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -47,11 +47,6 @@ void test02() VERIFY( num == 4 ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<unsigned long>; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/1.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/1.cc index 8ac1f0f7c7f..70e1482fb59 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/1.cc @@ -1,7 +1,8 @@ // 1999-05-07 // bkoz -// Copyright (C) 1999, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2002, 2003, 2004, 2005 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -54,11 +55,6 @@ void test01() VERIFY( sz01 == sz02 ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<A<B> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/capacity/8230.cc b/libstdc++-v3/testsuite/23_containers/vector/capacity/8230.cc index 759fc7507d3..8dd88ec530e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/capacity/8230.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/capacity/8230.cc @@ -1,7 +1,7 @@ // 1999-05-07 // bkoz -// Copyright (C) 1999, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -71,11 +71,6 @@ void test02() } } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/1.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/1.cc index 5c212db9b65..fe618e6253b 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/1.cc @@ -1,6 +1,7 @@ // 1999-06-29 bkoz -// Copyright (C) 1999-2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999-2001, 2002, 2003, 2004, 2005 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -40,11 +41,6 @@ void test01() vec01 = vec02; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<A<B> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/2.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/2.cc index ecee79d85d5..629195ee93e 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/2.cc @@ -1,6 +1,7 @@ // 1999-06-29 bkoz -// Copyright (C) 1999-2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999-2001, 2002, 2003, 2004, 2005 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -41,13 +42,6 @@ void test02() std::vector<int> v2(v1); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -template class __gnu_cxx::__mt_alloc<double>; -template class __gnu_cxx::__mt_alloc<A<B> >; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/3.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/3.cc index e228e7b6305..a2dcdee7366 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/3.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/3.cc @@ -1,6 +1,7 @@ // 1999-06-29 bkoz -// Copyright (C) 1999-2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999-2001, 2002, 2003, 2004, 2005 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -46,11 +47,6 @@ test03() VERIFY(std::equal(B, B + M, v5.begin())); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/6513.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/6513.cc index 593b3771554..2748a4e54cc 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/6513.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/6513.cc @@ -1,6 +1,7 @@ // 1999-06-29 bkoz -// Copyright (C) 1999-2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999-2001, 2002, 2003, 2004, 2005 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,11 +33,6 @@ void test04() std::vector<std::string> strings(c_strings, c_strings + 5); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::string>; -#endif - int main() { test04(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/element_access/1.cc b/libstdc++-v3/testsuite/23_containers/vector/element_access/1.cc index fce524d9c47..36397640765 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/element_access/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/element_access/1.cc @@ -1,7 +1,7 @@ // 2000-09-06 // bkoz -// Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2000, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -55,11 +55,6 @@ bool test01() return test; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<A<B> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/invalidation/1.cc b/libstdc++-v3/testsuite/23_containers/vector/invalidation/1.cc index dcd9d7ff4df..634dba4aa12 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/invalidation/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/invalidation/1.cc @@ -1,6 +1,6 @@ // Vector iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -53,11 +53,6 @@ void test01() VERIFY(i._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/invalidation/2.cc b/libstdc++-v3/testsuite/23_containers/vector/invalidation/2.cc index d79a2ee3ac7..d8ba4d639d0 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/invalidation/2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/invalidation/2.cc @@ -1,6 +1,6 @@ // Vector iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -58,11 +58,6 @@ void test02() VERIFY(before._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test02(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/invalidation/3.cc b/libstdc++-v3/testsuite/23_containers/vector/invalidation/3.cc index 0414a337ea0..ac7f9ec99ce 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/invalidation/3.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/invalidation/3.cc @@ -1,6 +1,6 @@ // Vector iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -83,11 +83,6 @@ void test03() VERIFY(before._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/invalidation/4.cc b/libstdc++-v3/testsuite/23_containers/vector/invalidation/4.cc index 184db02a225..1189f3cc3e5 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/invalidation/4.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/invalidation/4.cc @@ -1,6 +1,6 @@ // Vector iterator invalidation tests -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -60,11 +60,6 @@ void test04() VERIFY(before._M_singular()); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test04(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/1.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/1.cc index 52374e70d80..e9e61cbfb76 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/1.cc @@ -1,6 +1,6 @@ // 1999-11-09 bkoz -// Copyright (C) 1999, 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -49,12 +49,6 @@ test01() vec02.insert(vec02.begin(), pnp01, pnp01 + 1); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -template class __gnu_cxx::__mt_alloc<A<B> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/2.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/2.cc index 0e68bfa6989..9cb276b394c 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/2.cc @@ -1,6 +1,6 @@ // 1999-11-09 bkoz -// Copyright (C) 1999, 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -55,11 +55,6 @@ test03() VERIFY((v4.size() == M) && (M != N)); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test03(); diff --git a/libstdc++-v3/testsuite/23_containers/vector/modifiers/swap.cc b/libstdc++-v3/testsuite/23_containers/vector/modifiers/swap.cc index 4e49635bc22..decaab0026f 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/modifiers/swap.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation +// Copyright (C) 2004, 2005 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -54,10 +54,6 @@ void test02() VERIFY(1 == swap_calls); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -template class __gnu_cxx::__mt_alloc<T>; -#endif - // See c++/13658 for background info. int main() { diff --git a/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc b/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc index b5b31e8d1ae..d3deb0d9cf2 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/resize/1.cc @@ -1,7 +1,7 @@ // 1999-05-07 // bkoz -// Copyright (C) 1999, 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -50,11 +50,6 @@ void test01() VERIFY( test ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/24_iterators/back_insert_iterator.cc b/libstdc++-v3/testsuite/24_iterators/back_insert_iterator.cc index 2ca14a78613..f7a26e74c2c 100644 --- a/libstdc++-v3/testsuite/24_iterators/back_insert_iterator.cc +++ b/libstdc++-v3/testsuite/24_iterators/back_insert_iterator.cc @@ -1,6 +1,6 @@ // 2001-06-21 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -63,11 +63,6 @@ public: test_dm(): std::back_insert_iterator<std::list<int> >(l), p(container) { } }; -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/24_iterators/front_insert_iterator.cc b/libstdc++-v3/testsuite/24_iterators/front_insert_iterator.cc index 9ee2e9fd3fa..644f9c8b444 100644 --- a/libstdc++-v3/testsuite/24_iterators/front_insert_iterator.cc +++ b/libstdc++-v3/testsuite/24_iterators/front_insert_iterator.cc @@ -1,6 +1,6 @@ // 2001-06-21 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -62,11 +62,6 @@ public: test_dm(): std::front_insert_iterator<std::list<int> >(l), p(container) { } }; -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/24_iterators/insert_iterator.cc b/libstdc++-v3/testsuite/24_iterators/insert_iterator.cc index 322bccf4ea3..f76e08e9771 100644 --- a/libstdc++-v3/testsuite/24_iterators/insert_iterator.cc +++ b/libstdc++-v3/testsuite/24_iterators/insert_iterator.cc @@ -1,6 +1,6 @@ // 2001-06-21 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -70,11 +70,6 @@ public: test_dm(): std::insert_iterator<std::list<int> >(l, i), p(container) { } }; -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/24_iterators/iterator.cc b/libstdc++-v3/testsuite/24_iterators/iterator.cc index b3f4c67ed89..8573d41abfa 100644 --- a/libstdc++-v3/testsuite/24_iterators/iterator.cc +++ b/libstdc++-v3/testsuite/24_iterators/iterator.cc @@ -2,7 +2,7 @@ // 24.3.1 Iterator traits // (basic_string and vector implementations) // -// Copyright (C) 1999, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2003, 2004, 2005 Free Software Foundation, Inc. // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or @@ -588,12 +588,6 @@ test6642() return it - cit; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -template class __gnu_cxx::__mt_alloc<std::string>; -#endif - int main() { diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/1.cc b/libstdc++-v3/testsuite/25_algorithms/copy/1.cc index 2ad90ae978e..ed56c97fd49 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/1.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001 Free Software Foundation, Inc. +// Copyright (C) 2001, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -56,11 +56,6 @@ test01() VERIFY( equal(s2, s2 + N, A) ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/2.cc b/libstdc++-v3/testsuite/25_algorithms/copy/2.cc index 54bc439dac2..bc9147d5289 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/2.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -57,11 +57,6 @@ test01() VERIFY( equal(s2, s2 + N, a.begin()) ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/3.cc b/libstdc++-v3/testsuite/25_algorithms/copy/3.cc index c3f7979d8b9..f6ad8b4cde8 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/3.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -58,12 +58,6 @@ test01() VERIFY( equal(s2, s2 + N, a.begin()) ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int*>; -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/4.cc b/libstdc++-v3/testsuite/25_algorithms/copy/4.cc index edd089de313..cee7cc9d621 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/4.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -58,12 +58,6 @@ test01() VERIFY( equal(s2, s2 + N, a.begin()) ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -template class __gnu_cxx::__mt_alloc<int>; -#endif - int main() { diff --git a/libstdc++-v3/testsuite/25_algorithms/equal.cc b/libstdc++-v3/testsuite/25_algorithms/equal.cc index d9743bedc10..abb0446be21 100644 --- a/libstdc++-v3/testsuite/25_algorithms/equal.cc +++ b/libstdc++-v3/testsuite/25_algorithms/equal.cc @@ -1,6 +1,6 @@ // 2001-04-06 gdr -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -33,11 +33,6 @@ bool operator==(X, X) { return true; } // Not implemented on purpose. { dg-do link } bool operator!=(X, X); -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<X>; -#endif - int main() { std::vector<X> v, w; diff --git a/libstdc++-v3/testsuite/25_algorithms/fill/1.cc b/libstdc++-v3/testsuite/25_algorithms/fill/1.cc index 00830cbfbdf..64c071c384b 100644 --- a/libstdc++-v3/testsuite/25_algorithms/fill/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/fill/1.cc @@ -1,6 +1,6 @@ // 2004-06-25 Paolo Carlini <pcarlini@suse.de> -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -57,12 +57,6 @@ void test01() VERIFY( equal(coll2.begin(), coll2.end(), V) ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -template class __gnu_cxx::__mt_alloc<std::_List_node<num> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/25_algorithms/fill/2.cc b/libstdc++-v3/testsuite/25_algorithms/fill/2.cc index 51c45f31cbf..18ae2ee39c6 100644 --- a/libstdc++-v3/testsuite/25_algorithms/fill/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/fill/2.cc @@ -1,6 +1,6 @@ // 2004-06-25 Paolo Carlini <pcarlini@suse.de> -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -57,12 +57,6 @@ void test01() VERIFY( equal(coll2.begin(), coll2.end(), V) ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -template class __gnu_cxx::__mt_alloc<std::_List_node<num> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/25_algorithms/min_max.cc b/libstdc++-v3/testsuite/25_algorithms/min_max.cc index 8e5afb18829..4a3b35a69f9 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min_max.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min_max.cc @@ -1,6 +1,6 @@ // 2000-03-29 sss/bkoz -// Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2000, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -53,25 +53,6 @@ template<typename T> template<typename T> const T A<T>::a = T(3); -#if !__GXX_WEAK__ -// Explicitly instantiate for systems with no COMDAT or weak support. -template int A<int>::a; -template int A<unsigned int>::a; -template int A<short>::a; -template int A<unsigned short>::a; -template int A<long>::a; -template int A<unsigned long>::a; -template int A<long long>::a; -template int A<unsigned long long>::a; -template int A<char>::a; -template int A<signed char>::a; -template int A<unsigned char>::a; -template int A<wchar_t>::a; -template int A<float>::a; -template int A<double>::a; -template int A<long double>::a; -#endif - void test02() { bool test __attribute__((unused)) = true; diff --git a/libstdc++-v3/testsuite/25_algorithms/rotate.cc b/libstdc++-v3/testsuite/25_algorithms/rotate.cc index d37209d19d1..00768a230c8 100644 --- a/libstdc++-v3/testsuite/25_algorithms/rotate.cc +++ b/libstdc++-v3/testsuite/25_algorithms/rotate.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -71,11 +71,6 @@ test03() VERIFY(std::equal(A, A + N, D)); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { diff --git a/libstdc++-v3/testsuite/25_algorithms/unique/1.cc b/libstdc++-v3/testsuite/25_algorithms/unique/1.cc index 658e26b0fef..1c503cb756a 100644 --- a/libstdc++-v3/testsuite/25_algorithms/unique/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/unique/1.cc @@ -1,6 +1,6 @@ // 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> -// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -23,11 +23,6 @@ #include <list> #include <algorithm> -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { using namespace std; diff --git a/libstdc++-v3/testsuite/25_algorithms/unique/2.cc b/libstdc++-v3/testsuite/25_algorithms/unique/2.cc index 65b09b5a53e..10039d675f5 100644 --- a/libstdc++-v3/testsuite/25_algorithms/unique/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/unique/2.cc @@ -1,6 +1,6 @@ // 2003-10-14 Paolo Carlini <pcarlini@unitus.it> -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -86,11 +86,6 @@ void test03() VERIFY( equal(coll2.begin(), pos, B3) ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc index 13adfb2a5a6..fbe43b82635 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc @@ -1,6 +1,6 @@ // 2003-10-07 Petur Runolfsson <peturr02@ru.is> // -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -131,11 +131,6 @@ void test01() fb.close(); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::pair<std::fpos<__mbstate_t>, std::size_t> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/ext/concept_checks.cc b/libstdc++-v3/testsuite/ext/concept_checks.cc index 67a771ac07e..644caf4f323 100644 --- a/libstdc++-v3/testsuite/ext/concept_checks.cc +++ b/libstdc++-v3/testsuite/ext/concept_checks.cc @@ -1,6 +1,6 @@ // 2001-12-28 Phil Edwards <pme@gcc.gnu.org> // -// Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -76,12 +76,6 @@ test2054( ) binary_search(Index.begin(), Index.end(), SearchTerm, aComparison); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<int>; -template class __gnu_cxx::__mt_alloc<std::string>; -#endif - int main() { test2054(); diff --git a/libstdc++-v3/testsuite/ext/hash_map/1.cc b/libstdc++-v3/testsuite/ext/hash_map/1.cc index 2a0bc0bce6d..1b5d6f0ed91 100644 --- a/libstdc++-v3/testsuite/ext/hash_map/1.cc +++ b/libstdc++-v3/testsuite/ext/hash_map/1.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2002 Free Software Foundation, Inc. +// Copyright (C) 2002, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -95,13 +95,6 @@ void test01() } } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Hashtable_node<std::pair<const std::string, int> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Hashtable_node<std::pair<const std::string, int> >* >; -template class __gnu_cxx::__mt_alloc<std::pair<std::string, int> >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/ext/hash_set/1.cc b/libstdc++-v3/testsuite/ext/hash_set/1.cc index 9db82b7ef9d..afc7caec05b 100644 --- a/libstdc++-v3/testsuite/ext/hash_set/1.cc +++ b/libstdc++-v3/testsuite/ext/hash_set/1.cc @@ -1,7 +1,7 @@ // 2002-04-28 Paolo Carlini <pcarlini@unitus.it> // Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> -// Copyright (C) 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,12 +32,6 @@ test01() __gnu_cxx::hash_set<int> intTable(werte, werte + anzahl); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Hashtable_node<int> >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Hashtable_node<int>* >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/ext/rope/1.cc b/libstdc++-v3/testsuite/ext/rope/1.cc index b79e5e91496..fc1cc9aae62 100644 --- a/libstdc++-v3/testsuite/ext/rope/1.cc +++ b/libstdc++-v3/testsuite/ext/rope/1.cc @@ -1,6 +1,6 @@ // 2001-10-03 From: Dimitris Vyzovitis <vyzo@media.mit.edu> -// Copyright (C) 2001, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -31,14 +31,6 @@ void test01() std::cout << data << std::endl; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeLeaf<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeFunction<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeSubstring<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeConcatenation<char, std::allocator<char> > >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/ext/rope/2.cc b/libstdc++-v3/testsuite/ext/rope/2.cc index db8519f849e..e331cbf9cc0 100644 --- a/libstdc++-v3/testsuite/ext/rope/2.cc +++ b/libstdc++-v3/testsuite/ext/rope/2.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -42,14 +42,6 @@ test01() VERIFY( r5[1] == 'a' ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeLeaf<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeFunction<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeSubstring<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeConcatenation<char, std::allocator<char> > >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/ext/rope/3.cc b/libstdc++-v3/testsuite/ext/rope/3.cc index eec77d13237..ae990ca166f 100644 --- a/libstdc++-v3/testsuite/ext/rope/3.cc +++ b/libstdc++-v3/testsuite/ext/rope/3.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -93,14 +93,6 @@ test01() VERIFY( r1.substr(88888, 6)[2] == 'h' ); } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeLeaf<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeFunction<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeSubstring<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeConcatenation<char, std::allocator<char> > >; -#endif - int main() { test01(); diff --git a/libstdc++-v3/testsuite/thread/pthread1.cc b/libstdc++-v3/testsuite/thread/pthread1.cc index f83e20595af..83c0126848b 100644 --- a/libstdc++-v3/testsuite/thread/pthread1.cc +++ b/libstdc++-v3/testsuite/thread/pthread1.cc @@ -1,6 +1,6 @@ // 2002-01-23 Loren J. Rittle <rittle@labs.mot.com> <ljrittle@acm.org> // -// Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -98,11 +98,6 @@ consume (void* t) return 0; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_List_node<int> >; -#endif - int main () { diff --git a/libstdc++-v3/testsuite/thread/pthread4.cc b/libstdc++-v3/testsuite/thread/pthread4.cc index b58445fb68e..bab42569c45 100644 --- a/libstdc++-v3/testsuite/thread/pthread4.cc +++ b/libstdc++-v3/testsuite/thread/pthread4.cc @@ -2,7 +2,7 @@ // Adapted from http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html // which was adapted from pthread1.cc by Mike Lu <MLu@dynamicsoft.com> // -// Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -89,12 +89,6 @@ consume (void*) return 0; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::string>; -template class __gnu_cxx::__mt_alloc<std::_List_node<std::string> >; -#endif - int main (void) { diff --git a/libstdc++-v3/testsuite/thread/pthread5.cc b/libstdc++-v3/testsuite/thread/pthread5.cc index 30086d4584d..76220fbdbd5 100644 --- a/libstdc++-v3/testsuite/thread/pthread5.cc +++ b/libstdc++-v3/testsuite/thread/pthread5.cc @@ -2,7 +2,7 @@ // Adpated from libstdc++/5464 submitted by jjessel@amadeus.net // Jean-Francois JESSEL (Amadeus SAS Development) // -// Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -86,12 +86,6 @@ thread_function (void* arg) return arg; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<tt_t>; -template class __gnu_cxx::__mt_alloc<std::_List_node<std::string*> >; -#endif - int main () { diff --git a/libstdc++-v3/testsuite/thread/pthread6.cc b/libstdc++-v3/testsuite/thread/pthread6.cc index 44b2b897146..9bf8cd56229 100644 --- a/libstdc++-v3/testsuite/thread/pthread6.cc +++ b/libstdc++-v3/testsuite/thread/pthread6.cc @@ -1,7 +1,7 @@ // 2002-01-23 Loren J. Rittle <rittle@labs.mot.com> <ljrittle@acm.org> // Adpated from libstdc++/5444 submitted by markus.breuer@materna.de // -// Copyright (C) 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -70,11 +70,6 @@ thread_main (void*) return 0; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<unsigned int const, std::string> > >; -#endif - int main (void) { diff --git a/libstdc++-v3/testsuite/thread/pthread7-rope.cc b/libstdc++-v3/testsuite/thread/pthread7-rope.cc index 3f5a338d086..0e8431b7f32 100644 --- a/libstdc++-v3/testsuite/thread/pthread7-rope.cc +++ b/libstdc++-v3/testsuite/thread/pthread7-rope.cc @@ -1,6 +1,6 @@ // 2003-05-03 Loren J. Rittle <rittle@labs.mot.com> <ljrittle@acm.org> // -// Copyright (C) 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -53,14 +53,6 @@ void* thread_main(void *) return 0; } -#if !__GXX_WEAK__ && _MT_ALLOCATOR_H -// Explicitly instantiate for systems with no COMDAT or weak support. -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeLeaf<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeFunction<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeSubstring<char, std::allocator<char> > >; -template class __gnu_cxx::__mt_alloc<__gnu_cxx::_Rope_RopeConcatenation<char, std::allocator<char> > >; -#endif - int main() { |