From d67b7799de179c70692ad576cec6d2182cdf58bc Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Fri, 11 Apr 2003 17:25:20 +0000 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 7 +++++++ .../testsuite/25_algorithms/min_max.cc | 19 +++++++++++++++++++ .../basic_istream/sentry/char/3983-fstream.cc | 4 ++++ .../basic_ostream/sentry/char/3983-fstream.cc | 4 ++++ 4 files changed, 34 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 11b2af8872f..28bcb200d4d 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 c6070433644..c6e8001df70 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 99dd0b09bc1..ede3dbcd28e 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 3cdf3b83310..8fe5fd367d1 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() -- 2.30.2