]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
3983-fstream.cc: Add instantiation for AIX.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 11 Apr 2003 17:25:20 +0000 (17:25 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 11 Apr 2003 17:25:20 +0000 (17:25 +0000)
2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
instantiation for AIX.
* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
* testsuite/25_algorithms/min_max.cc: Same.

From-SVN: r65468

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/25_algorithms/min_max.cc
libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc

index 11b2af8872fad3444011707afc21bd0baeee9992..28bcb200d4d9c33fe17e5cf88aa5026df88bf779 100644 (file)
@@ -1,3 +1,10 @@
+2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
+       instantiation for AIX.
+       * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
+       * testsuite/25_algorithms/min_max.cc: Same.
+       
 2003-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
index c6070433644151914619b4208dc541861f998721..c6e8001df7071623b6b593ff5663e6e0c3f197e9 100644 (file)
@@ -53,6 +53,25 @@ 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 = true;
index 99dd0b09bc17122921b647239ecbeb4a8854e027..ede3dbcd28e757f376befd330317b66510c4aef0 100644 (file)
@@ -180,6 +180,10 @@ template
 template 
   unsigned char
   std::basic_string<unsigned char>::_Rep::_S_terminal;
+
+template
+  std::basic_streambuf<gnu_char_type>::int_type
+  std::basic_streambuf<gnu_char_type>::_S_pback_size;
 #endif
 
 int main()
index 3cdf3b833102052a627ed1342a81f89a41a3a8cc..8fe5fd367d1ea424976b74f67ff814ed60b0d413 100644 (file)
@@ -151,6 +151,10 @@ template
 template 
   unsigned char
   std::basic_string<unsigned char>::_Rep::_S_terminal;
+
+template
+  std::basic_streambuf<gnu_char_type>::int_type
+  std::basic_streambuf<gnu_char_type>::_S_pback_size;
 #endif
 
 int main()