This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: New AIX libstdc++ testsuite failures
Hello David.
> Simon> If you confirm that it succeeded I can commit the patch right now.
>
> I posted the results and another message, but the second message
> seems to have disappeared.
>
> Also, I noticed one testcase you missed:
>
> src/libstdc++-v3/testsuite/27_io/basic_istream/sentry/pod/1.cc
I'm sorry, to have missed that one... Thanks!
I have applied the attached patch, that is exactly the same as the initial one
plus the fix for the extra occurence that you've spotted, as approved by
Benjamin.
Best regards,
Simon
2007-02-22 Simon Martin <simartin@users.sourceforge.net>
* testsuite/27_io/basic_ios/cons/char/3.cc: Fixed type mismatches in
explicit instantiations.
* testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
Likewise.
* testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/pod/10081-in.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/pod/10081-out.cc:
Likewise.
* testsuite/21_strings/basic_string/capacity/1.cc: Likewise.
Index: libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc
===================================================================
--- libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc (revision 122236)
+++ libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc (working copy)
@@ -160,11 +160,11 @@ void test02()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string<unsigned short>::size_type
+ const std::basic_string<unsigned short>::size_type
std::basic_string<unsigned short>::_Rep::_S_max_size;
template
- unsigned short
+ const unsigned short
std::basic_string<unsigned short>::_Rep::_S_terminal;
#endif
Index: libstdc++-v3/testsuite/27_io/basic_istream/sentry/pod/1.cc
===================================================================
--- libstdc++-v3/testsuite/27_io/basic_istream/sentry/pod/1.cc (revision 122236)
+++ libstdc++-v3/testsuite/27_io/basic_istream/sentry/pod/1.cc (working copy)
@@ -158,11 +158,11 @@ void test01()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string<__gnu_test::pod_ushort>::size_type
+ const std::basic_string<__gnu_test::pod_ushort>::size_type
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_max_size;
template
- __gnu_test::pod_ushort
+ const __gnu_test::pod_ushort
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_terminal;
#endif
Index: libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc
===================================================================
--- libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc (revision 122236)
+++ libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc (working copy)
@@ -61,11 +61,11 @@ void test03()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string<__gnu_test::pod_ushort>::size_type
+ const std::basic_string<__gnu_test::pod_ushort>::size_type
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_max_size;
template
- __gnu_test::pod_ushort
+ const __gnu_test::pod_ushort
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_terminal;
#endif
Index: libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc
===================================================================
--- libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc (revision 122236)
+++ libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc (working copy)
@@ -62,11 +62,11 @@ void test03()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string<__gnu_test::pod_ushort>::size_type
+ const std::basic_string<__gnu_test::pod_ushort>::size_type
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_max_size;
template
- __gnu_test::pod_ushort
+ const __gnu_test::pod_ushort
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_terminal;
#endif
Index: libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc
===================================================================
--- libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc (revision 122236)
+++ libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc (working copy)
@@ -66,11 +66,11 @@ void test03()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string<__gnu_test::pod_ushort>::size_type
+ const std::basic_string<__gnu_test::pod_ushort>::size_type
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_max_size;
template
- __gnu_test::pod_ushort
+ const __gnu_test::pod_ushort
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_terminal;
#endif
Index: libstdc++-v3/testsuite/27_io/basic_ostream/sentry/pod/1.cc
===================================================================
--- libstdc++-v3/testsuite/27_io/basic_ostream/sentry/pod/1.cc (revision 122236)
+++ libstdc++-v3/testsuite/27_io/basic_ostream/sentry/pod/1.cc (working copy)
@@ -114,11 +114,11 @@ void test01()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string<__gnu_test::pod_ushort>::size_type
+ const std::basic_string<__gnu_test::pod_ushort>::size_type
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_max_size;
template
- __gnu_test::pod_ushort
+ const __gnu_test::pod_ushort
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_terminal;
#endif
Index: libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/pod/10081-in.cc
===================================================================
--- libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/pod/10081-in.cc (revision 122236)
+++ libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/pod/10081-in.cc (working copy)
@@ -76,11 +76,11 @@ void test01()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string<__gnu_test::pod_ushort>::size_type
+ const std::basic_string<__gnu_test::pod_ushort>::size_type
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_max_size;
template
- __gnu_test::pod_ushort
+ const __gnu_test::pod_ushort
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_terminal;
#endif
Index: libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/pod/10081-out.cc
===================================================================
--- libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/pod/10081-out.cc (revision 122236)
+++ libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/pod/10081-out.cc (working copy)
@@ -76,11 +76,11 @@ void test01()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string<__gnu_test::pod_ushort>::size_type
+ const std::basic_string<__gnu_test::pod_ushort>::size_type
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_max_size;
template
- __gnu_test::pod_ushort
+ const __gnu_test::pod_ushort
std::basic_string<__gnu_test::pod_ushort>::_Rep::_S_terminal;
#endif
Index: libstdc++-v3/testsuite/21_strings/basic_string/capacity/1.cc
===================================================================
--- libstdc++-v3/testsuite/21_strings/basic_string/capacity/1.cc (revision 122236)
+++ libstdc++-v3/testsuite/21_strings/basic_string/capacity/1.cc (working copy)
@@ -184,11 +184,11 @@ void test01()
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
- std::basic_string< A<B> >::size_type
+ const std::basic_string< A<B> >::size_type
std::basic_string< A<B> >::_Rep::_S_max_size;
template
- A<B>
+ const A<B>
std::basic_string< A<B> >::_Rep::_S_terminal;
#endif