|
|
9fbc78 |
See https://bugzilla.redhat.com/show_bug.cgi?id=2095749#c3
|
|
|
9fbc78 |
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc
|
|
|
9fbc78 |
index 071597b4dd3..22cfdc7415b 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc
|
|
|
9fbc78 |
@@ -99,5 +99,7 @@ void test02()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/char/3.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/char/3.cc
|
|
|
9fbc78 |
index ec0f943dd73..6c7c0c60ed0 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/char/3.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/char/3.cc
|
|
|
9fbc78 |
@@ -351,6 +351,8 @@ test01()
|
|
|
9fbc78 |
int
|
|
|
9fbc78 |
main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/char/4.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/char/4.cc
|
|
|
9fbc78 |
index d0619f9de1f..499871bf5b4 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/char/4.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/char/4.cc
|
|
|
9fbc78 |
@@ -238,6 +238,8 @@ test01()
|
|
|
9fbc78 |
int
|
|
|
9fbc78 |
main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/char/71367.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/char/71367.cc
|
|
|
9fbc78 |
index 9171b7d5a17..9c6d1794991 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/char/71367.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/char/71367.cc
|
|
|
9fbc78 |
@@ -62,6 +62,8 @@ test01()
|
|
|
9fbc78 |
int
|
|
|
9fbc78 |
main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/char/71557.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/char/71557.cc
|
|
|
9fbc78 |
index 9d004b05e87..9eeff07aaf3 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/char/71557.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/char/71557.cc
|
|
|
9fbc78 |
@@ -91,6 +91,8 @@ test01()
|
|
|
9fbc78 |
int
|
|
|
9fbc78 |
main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/3.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/3.cc
|
|
|
9fbc78 |
index 45d4edeca00..6e2efad56d4 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/3.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/3.cc
|
|
|
9fbc78 |
@@ -351,6 +351,8 @@ test01()
|
|
|
9fbc78 |
int
|
|
|
9fbc78 |
main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/4.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/4.cc
|
|
|
9fbc78 |
index 0518842692f..485c1b41d1b 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/4.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/4.cc
|
|
|
9fbc78 |
@@ -238,6 +238,8 @@ test01()
|
|
|
9fbc78 |
int
|
|
|
9fbc78 |
main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71367.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71367.cc
|
|
|
9fbc78 |
index 456472601be..180255e948e 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71367.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71367.cc
|
|
|
9fbc78 |
@@ -62,6 +62,8 @@ test01()
|
|
|
9fbc78 |
int
|
|
|
9fbc78 |
main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71557.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71557.cc
|
|
|
9fbc78 |
index 7c5a829fa60..38673aac17b 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71557.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/71557.cc
|
|
|
9fbc78 |
@@ -91,6 +91,8 @@ test01()
|
|
|
9fbc78 |
int
|
|
|
9fbc78 |
main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/6.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/6.cc
|
|
|
9fbc78 |
index e50afa6aa73..2f326f85afe 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/6.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/6.cc
|
|
|
9fbc78 |
@@ -74,6 +74,8 @@ void test01()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/6.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/6.cc
|
|
|
9fbc78 |
index f6e32b7f781..54a921e243b 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/6.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/6.cc
|
|
|
9fbc78 |
@@ -74,6 +74,8 @@ void test01()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ws/char/lwg415.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ws/char/lwg415.cc
|
|
|
9fbc78 |
index fe6980dff29..0a033b81138 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_istream/ws/char/lwg415.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_istream/ws/char/lwg415.cc
|
|
|
9fbc78 |
@@ -71,7 +71,9 @@ test03()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
test03();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/lwg415.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/lwg415.cc
|
|
|
9fbc78 |
index fd040098b40..3adabc60221 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/lwg415.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/lwg415.cc
|
|
|
9fbc78 |
@@ -71,7 +71,9 @@ test03()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
test03();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc
|
|
|
9fbc78 |
index e39f5928a1f..22421b158cb 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc
|
|
|
9fbc78 |
@@ -15,6 +15,7 @@
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
#if __cpp_lib_ios_noreplace
|
|
|
9fbc78 |
std::ios::openmode noreplace = std::ios::noreplace;
|
|
|
9fbc78 |
#else
|
|
|
9fbc78 |
@@ -26,4 +27,5 @@ int main()
|
|
|
9fbc78 |
of.close();
|
|
|
9fbc78 |
of.open("noreplace", noreplace);
|
|
|
9fbc78 |
VERIFY( ! of.is_open() );
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc
|
|
|
9fbc78 |
index 77f11865ac4..07748578417 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc
|
|
|
9fbc78 |
@@ -15,6 +15,7 @@
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
#if __cpp_lib_ios_noreplace
|
|
|
9fbc78 |
std::wios::openmode noreplace = std::wios::noreplace;
|
|
|
9fbc78 |
#else
|
|
|
9fbc78 |
@@ -26,4 +27,5 @@ int main()
|
|
|
9fbc78 |
of.close();
|
|
|
9fbc78 |
of.open("noreplace", noreplace);
|
|
|
9fbc78 |
VERIFY( ! of.is_open() );
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/n3168.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/n3168.cc
|
|
|
9fbc78 |
index 12da0b1f011..689ee0ee85b 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/n3168.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/n3168.cc
|
|
|
9fbc78 |
@@ -98,6 +98,8 @@ test02()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/n3168.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/n3168.cc
|
|
|
9fbc78 |
index 652f46f615c..abe55ca1285 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/n3168.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/n3168.cc
|
|
|
9fbc78 |
@@ -96,6 +96,8 @@ test02()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/n3168.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/n3168.cc
|
|
|
9fbc78 |
index 8c2fe85db36..92fb45495c1 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/n3168.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/n3168.cc
|
|
|
9fbc78 |
@@ -59,6 +59,8 @@ test02()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/n3168.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/n3168.cc
|
|
|
9fbc78 |
index 887a9a773d1..efb0c2e878a 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/n3168.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/n3168.cc
|
|
|
9fbc78 |
@@ -59,6 +59,8 @@ test02()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_time/char/2.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_time/char/2.cc
|
|
|
9fbc78 |
index 39ff1761c55..9583c630fa8 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_time/char/2.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_time/char/2.cc
|
|
|
9fbc78 |
@@ -91,6 +91,8 @@ static bool ampm_time_format()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/2.cc
|
|
|
9fbc78 |
index 228d61f1e41..a1c3265155f 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/2.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/2.cc
|
|
|
9fbc78 |
@@ -91,6 +91,8 @@ static bool ampm_time_format()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc
|
|
|
9fbc78 |
index adbf7e7e733..4d6b4e2ec96 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get/wchar_t/2.cc
|
|
|
9fbc78 |
@@ -99,5 +99,7 @@ void test02()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc
|
|
|
9fbc78 |
index de7a371c1c4..d5fc73d1a36 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc
|
|
|
9fbc78 |
@@ -59,7 +59,9 @@ void test02()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
VERIFY( os.good() );
|
|
|
9fbc78 |
VERIFY( buf.sync_called() );
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
VERIFY( buf_tie.sync_called() );
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
|
|
|
9fbc78 |
void
|
|
|
9fbc78 |
@@ -80,7 +82,9 @@ test03()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
VERIFY( os.rdstate() & std::ios_base::eofbit );
|
|
|
9fbc78 |
VERIFY( !buf.sync_called() );
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
VERIFY( !buf_tie.sync_called() );
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc
|
|
|
9fbc78 |
index b330be46afa..40b9dfdb61b 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc
|
|
|
9fbc78 |
@@ -57,7 +57,9 @@ void test02()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
VERIFY( os.good() );
|
|
|
9fbc78 |
VERIFY( buf.sync_called() );
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
VERIFY( buf_tie.sync_called() );
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
|
|
|
9fbc78 |
void
|
|
|
9fbc78 |
@@ -78,7 +80,9 @@ test03()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
VERIFY( os.rdstate() & std::ios_base::eofbit );
|
|
|
9fbc78 |
VERIFY( !buf.sync_called() );
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
VERIFY( !buf_tie.sync_called() );
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
index 138648f5264..70f651818ba 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
@@ -73,7 +73,9 @@ void test02()
|
|
|
9fbc78 |
// libstdc++/9546
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
index 731df74de9f..b6d31711910 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
@@ -73,7 +73,9 @@ void test02()
|
|
|
9fbc78 |
// libstdc++/9546
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
test02();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
index 2eccfdceb94..98d57ff4259 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
@@ -47,6 +47,8 @@ void test01()
|
|
|
9fbc78 |
// libstdc++/9546
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
index 92161b22632..9d75c2c69fb 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc
|
|
|
9fbc78 |
@@ -47,6 +47,8 @@ void test01()
|
|
|
9fbc78 |
// libstdc++/9546
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
return 0;
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc
|
|
|
9fbc78 |
index d4cd0dc3040..a60acf00b04 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc
|
|
|
9fbc78 |
@@ -44,5 +44,7 @@ void test01()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|
|
|
9fbc78 |
diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc
|
|
|
9fbc78 |
index c639ce54906..5c749922016 100644
|
|
|
9fbc78 |
--- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc
|
|
|
9fbc78 |
+++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc
|
|
|
9fbc78 |
@@ -45,5 +45,7 @@ void test01()
|
|
|
9fbc78 |
|
|
|
9fbc78 |
int main()
|
|
|
9fbc78 |
{
|
|
|
9fbc78 |
+#if __LIBSTDCXX_SO_VERSION >= 8
|
|
|
9fbc78 |
test01();
|
|
|
9fbc78 |
+#endif
|
|
|
9fbc78 |
}
|