1.cc: Add instantiations for systems with no COMDAT or weak support.
authorPaolo Carlini <pcarlini@suse.de>
Sun, 4 Jul 2004 11:05:14 +0000 (11:05 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 4 Jul 2004 11:05:14 +0000 (11:05 +0000)
2004-07-04  Paolo Carlini  <pcarlini@suse.de>

* testsuite/25_algorithms/copy/1.cc: Add instantiations for
systems with no COMDAT or weak support.
* testsuite/25_algorithms/copy/2.cc: Likewise.
* testsuite/25_algorithms/copy/3.cc: Likewise.
* testsuite/25_algorithms/copy/4.cc: Likewise.

From-SVN: r84076

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/25_algorithms/copy/1.cc
libstdc++-v3/testsuite/25_algorithms/copy/2.cc
libstdc++-v3/testsuite/25_algorithms/copy/3.cc
libstdc++-v3/testsuite/25_algorithms/copy/4.cc

index 9272f153ad929849726e3c670134dc480bff98ec..5305c346ed8f004eb08501166000f7bcb97a36fd 100644 (file)
@@ -1,3 +1,11 @@
+2004-07-04  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/25_algorithms/copy/1.cc: Add instantiations for
+       systems with no COMDAT or weak support.
+       * testsuite/25_algorithms/copy/2.cc: Likewise.
+       * testsuite/25_algorithms/copy/3.cc: Likewise.
+       * testsuite/25_algorithms/copy/4.cc: Likewise.
+
 2004-07-03  Paul Brook  <paul@codesourcery.com>
 
        * configure.ac: Set ABI_TWEAKS_SRCDIR.
index 7c45db2e0e43c148b43c0b35aa7d318a339f7c1e..2ad90ae978e5c12432d4535bb2c441aee08d7883 100644 (file)
@@ -56,6 +56,11 @@ 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()
 {
index 8fe3b3a61c8c111130dc5dce05b7e646162d9f1c..54bc439dac28e901c8a04cbfb4359b0c605c2058 100644 (file)
@@ -57,6 +57,11 @@ 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()
 {
index 0bf0432dccc900ddb6adf1ef326fbe997eb89775..c3f7979d8b9f3b3e49bc30dc4343294d1334ca08 100644 (file)
@@ -58,6 +58,12 @@ 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()
 {
index 91818f366735a929f00fc5a81d3ef1d75950c16e..edd089de313701760c5f9f52f95f8c9884e79857 100644 (file)
@@ -58,6 +58,12 @@ 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()
 {