diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2003-04-11 17:25:20 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2003-04-11 17:25:20 +0000 |
commit | d67b7799de179c70692ad576cec6d2182cdf58bc (patch) | |
tree | 65cc59bed9195d9ebc5a96535989d982832e3110 | |
parent | a46666a9508860fd72ac9d592956d8364302f154 (diff) | |
download | gcc-d67b7799de179c70692ad576cec6d2182cdf58bc.zip gcc-d67b7799de179c70692ad576cec6d2182cdf58bc.tar.gz gcc-d67b7799de179c70692ad576cec6d2182cdf58bc.tar.bz2 |
3983-fstream.cc: Add instantiation for AIX.
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
4 files changed, 34 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 11b2af8..28bcb20 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/testsuite/25_algorithms/min_max.cc b/libstdc++-v3/testsuite/25_algorithms/min_max.cc index c607043..c6e8001 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min_max.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min_max.cc @@ -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; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc index 99dd0b0..ede3dbc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc @@ -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() diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc index 3cdf3b8..8fe5fd3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc @@ -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() |