PR libstdc++/66145 ensure new ABI for ios::failure tests
authorJonathan Wakely <jwakely@redhat.com>
Fri, 3 Feb 2017 19:26:51 +0000 (19:26 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 3 Feb 2017 19:26:51 +0000 (19:26 +0000)
PR libstdc++/66145
* testsuite/27_io/basic_ios/copyfmt/char/1.cc: Restore ABI override
so new ios::failure can be caught even when old ABI is the default.
* testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_failbit.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
exceptions_failbit.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
exceptions_null.cc: Likewise.
* testsuite/27_io/ios_base/storage/2.cc: Likewise.

From-SVN: r245167

12 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/1.cc
libstdc++-v3/testsuite/27_io/basic_ios/exceptions/char/1.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_null.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_null.cc
libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/12297.cc
libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_null.cc
libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc

index 045fff24e6d97fbc3ace427880daabc6019d0028..0d6f5d018a3da3a87871a042e2e7008c59867b95 100644 (file)
@@ -1,5 +1,25 @@
 2017-02-03  Jonathan Wakely  <jwakely@redhat.com>
 
+       PR libstdc++/66145
+       * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Restore ABI override
+       so new ios::failure can be caught even when old ABI is the default.
+       * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
+       * testsuite/27_io/basic_istream/extractors_arithmetic/char/
+       exceptions_failbit.cc: Likewise.
+       * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
+       exceptions_failbit.cc: Likewise.
+       * testsuite/27_io/basic_istream/extractors_other/char/
+       exceptions_null.cc: Likewise.
+       * testsuite/27_io/basic_istream/extractors_other/wchar_t/
+       exceptions_null.cc: Likewise.
+       * testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
+       * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
+       * testsuite/27_io/basic_ostream/inserters_other/char/
+       exceptions_null.cc: Likewise.
+       * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+       exceptions_null.cc: Likewise.
+       * testsuite/27_io/ios_base/storage/2.cc: Likewise.
+
        PR libstdc++/60936
        * src/c++11/Makefile.am: Add new files.
        * src/c++11/Makefile.in: Regenerate.
index d922b1847bd4e24a7388cf237462c6b44a71f34b..87551a08311119ca609eec379015ff22259527f2 100644 (file)
@@ -17,6 +17,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 // 27.4.4.2 basic_ios member functions
 
 // NB: Don't include any other headers in this file.
index a7f829a19cc9ef8fdd737a1e13c764e3727306c8..86b7bee35d39c56193e88b9bed284f00c7c4721a 100644 (file)
@@ -17,6 +17,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 // 27.4.4.2 basic_ios member functions
 
 // NB: Don't include any other headers in this file.
index ab4d7b139a81eb81c66f5277245dd2879a5c5a76..2f1edf6e79c944e4e5a17ec40f0c8207e38d92e4 100644 (file)
@@ -15,6 +15,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 #include <sstream>
 #include <testsuite_hooks.h>
 
index f9537e05e44b7428edff79781b2a9357c98604cb..7038565eb899641b7c8f511b6ccd1083c1ec511f 100644 (file)
@@ -15,6 +15,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 #include <sstream>
 #include <testsuite_hooks.h>
 
index d508f0a28231aec86e5cd9df2cdaa93991aa9aca..50c70f96378dd0911ab0fcdfb09409175a56aa9f 100644 (file)
@@ -15,6 +15,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 #include <istream>
 #include <ostream>
 #include <streambuf>
index 63b35706c8419bd51d3d2a44a2ddce8416afc577..0d8a3cd3f3af3f65da42843aba16e04e1f61c5fd 100644 (file)
@@ -15,6 +15,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 #include <istream>
 #include <ostream>
 #include <streambuf>
index bd99187580b351c10c1226b877bfcecbc549d0e5..ceb92347e088b9d224f2d3571792e1aff8bb6199 100644 (file)
@@ -18,6 +18,9 @@
 
 // 27.6.1.1.2 class basic_istream::sentry
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 #include <sstream>
 #include <testsuite_hooks.h>
 
index 86713dc021a54dcc2446e2e8d9c9bf9b86fd1e43..dc9d48a18d83f905d551016c3b5a96704f1ca164 100644 (file)
@@ -15,6 +15,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 // 27.6.1.1.2 class basic_istream::sentry
 
 #include <sstream>
index a19cc3f80a2f964dd8d6e030f13f7c8532ffeb6c..ab9ef94da35ca788270feb8dd7b8690717bb8e2a 100644 (file)
@@ -15,6 +15,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 #include <istream>
 #include <ostream>
 #include <streambuf>
index e449837b73cc390a45bf7f809291ded71f876c1d..bba6dd0e3f1d037b24716fae20485bcd7d59e5cf 100644 (file)
@@ -15,6 +15,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 #include <istream>
 #include <ostream>
 #include <streambuf>
index a5b9f64c66a3918b9c57e3214ba04a45ad9286da..d2c9ec50e5301aabaab23a51bf86fc0c15e5cdc3 100644 (file)
@@ -28,6 +28,9 @@
 // Radar 6467884: 10.X systems are not robust when paging space is exceeded
 // { dg-skip-if "" { *-*-darwin* && lp64 } { "*" } { "" } } 
 
+// The library throws the new definition of std::ios::failure
+// { dg-options "-D_GLIBCXX_USE_CXX11_ABI=1" }
+
 #include <sstream>
 #include <iostream>
 #include <limits>