From: Benjamin Kosnik Date: Fri, 11 Apr 2003 17:25:20 +0000 (+0000) Subject: 3983-fstream.cc: Add instantiation for AIX. X-Git-Tag: releases/gcc-3.4.0~7368 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d67b7799de179c70692ad576cec6d2182cdf58bc;p=thirdparty%2Fgcc.git 3983-fstream.cc: Add instantiation for AIX. 2003-04-11 Benjamin Kosnik * 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 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 11b2af8872fa..28bcb200d4d9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2003-04-11 Benjamin Kosnik + + * 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 * basic_file_stdio.cc (__basic_file::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 c60704336441..c6e8001df707 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min_max.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min_max.cc @@ -53,6 +53,25 @@ template template const T A::a = T(3); +#if !__GXX_WEAK__ +// Explicitly instantiate for systems with no COMDAT or weak support. +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::a; +template int A::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 99dd0b09bc17..ede3dbcd28e7 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::_Rep::_S_terminal; + +template + std::basic_streambuf::int_type + std::basic_streambuf::_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 3cdf3b833102..8fe5fd367d1e 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::_Rep::_S_terminal; + +template + std::basic_streambuf::int_type + std::basic_streambuf::_S_pback_size; #endif int main()