aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2004-07-04 11:05:14 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2004-07-04 11:05:14 +0000
commitf1ee6eca25d2487e361a9aa57f20cbc02c3dbf39 (patch)
tree17f31098052c008116da9335439837fce7977166
parent1657a8095b506b6d10a407fd5574adbf814561e3 (diff)
downloadgcc-f1ee6eca25d2487e361a9aa57f20cbc02c3dbf39.zip
gcc-f1ee6eca25d2487e361a9aa57f20cbc02c3dbf39.tar.gz
gcc-f1ee6eca25d2487e361a9aa57f20cbc02c3dbf39.tar.bz2
1.cc: Add instantiations for systems with no COMDAT or weak support.
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
-rw-r--r--libstdc++-v3/ChangeLog8
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/copy/1.cc5
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/copy/2.cc5
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/copy/3.cc6
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/copy/4.cc6
5 files changed, 30 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 9272f15..5305c34 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/1.cc b/libstdc++-v3/testsuite/25_algorithms/copy/1.cc
index 7c45db2..2ad90ae 100644
--- a/libstdc++-v3/testsuite/25_algorithms/copy/1.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/copy/1.cc
@@ -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()
{
diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/2.cc b/libstdc++-v3/testsuite/25_algorithms/copy/2.cc
index 8fe3b3a..54bc439 100644
--- a/libstdc++-v3/testsuite/25_algorithms/copy/2.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/copy/2.cc
@@ -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()
{
diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/3.cc b/libstdc++-v3/testsuite/25_algorithms/copy/3.cc
index 0bf0432..c3f7979 100644
--- a/libstdc++-v3/testsuite/25_algorithms/copy/3.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/copy/3.cc
@@ -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()
{
diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/4.cc b/libstdc++-v3/testsuite/25_algorithms/copy/4.cc
index 91818f3..edd089d 100644
--- a/libstdc++-v3/testsuite/25_algorithms/copy/4.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/copy/4.cc
@@ -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()
{