diff options
author | Phil Edwards <pme@gcc.gnu.org> | 2002-03-11 21:08:06 +0000 |
---|---|---|
committer | Phil Edwards <pme@gcc.gnu.org> | 2002-03-11 21:08:06 +0000 |
commit | 72c9b0629da25731ce8cb7c2d58b0a5ae1043bad (patch) | |
tree | b2afd1ca7dcfb3d37dd262f6455c3216aad269d8 | |
parent | ab04e34bff7a8090fdfe86e50eb88bae7d717ed3 (diff) | |
download | gcc-72c9b0629da25731ce8cb7c2d58b0a5ae1043bad.zip gcc-72c9b0629da25731ce8cb7c2d58b0a5ae1043bad.tar.gz gcc-72c9b0629da25731ce8cb7c2d58b0a5ae1043bad.tar.bz2 |
capacity.cc: Only explicitly instantiate on platforms with no weak support.
2002-03-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/21_strings/capacity.cc: Only explicitly instantiate on
platforms with no weak support.
* testsuite/27_io/ios_init.cc: Likewise.
From-SVN: r50597
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/21_strings/capacity.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/ios_init.cc | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7cdebce..a2eaf0f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2002-03-11 Phil Edwards <pme@gcc.gnu.org> + + * testsuite/21_strings/capacity.cc: Only explicitly instantiate on + platforms with no weak support. + * testsuite/27_io/ios_init.cc: Likewise. + 2002-03-10 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (time_put::do_put): diff --git a/libstdc++-v3/testsuite/21_strings/capacity.cc b/libstdc++-v3/testsuite/21_strings/capacity.cc index c8f7889..3bfb051 100644 --- a/libstdc++-v3/testsuite/21_strings/capacity.cc +++ b/libstdc++-v3/testsuite/21_strings/capacity.cc @@ -188,6 +188,7 @@ bool test02() return test; } +#if !__GXX_WEAK__ // Explicitly instantiate for systems with no COMDAT or weak support. template std::basic_string< A<B> >::size_type @@ -196,6 +197,7 @@ template template A<B> std::basic_string< A<B> >::_Rep::_S_terminal; +#endif int main() { diff --git a/libstdc++-v3/testsuite/27_io/ios_init.cc b/libstdc++-v3/testsuite/27_io/ios_init.cc index 7cef9cc..38d2e52 100644 --- a/libstdc++-v3/testsuite/27_io/ios_init.cc +++ b/libstdc++-v3/testsuite/27_io/ios_init.cc @@ -132,6 +132,7 @@ void test02() VERIFY( test ); } +#if !__GXX_WEAK__ // Explicitly instantiate for systems with no COMDAT or weak support. template std::basic_string<unsigned short>::size_type @@ -140,6 +141,7 @@ template template unsigned short std::basic_string<unsigned short>::_Rep::_S_terminal; +#endif int main() { |