This is the mail archive of the mailing list for the libstdc++ project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PR66145 use new ABI for std::ios::failure exceptions

This changes the version of std::ios_base::failure thrown by to be the new __cxx11 ABI one, matching the default for
headers that are trying to catch the exception.

There's no simple way to do this as an easy transition, but hopefully
by now most people are either using the new ABI or building GCC
without the dual ABI.

	PR libstdc++/66145
	* src/c++11/ Use new ABI for std::ios_base::failure
	* testsuite/27_io/basic_ios/copyfmt/char/ Don't override ABI
	for test, so new ios::failure can be caught.
	* testsuite/27_io/basic_ios/exceptions/char/ Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/ Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ Likewise.
	* testsuite/27_io/basic_istream/extractors_other/char/ Likewise.
	* testsuite/27_io/basic_istream/extractors_other/wchar_t/ Likewise.
	* testsuite/27_io/basic_istream/sentry/char/ Likewise.
	* testsuite/27_io/basic_istream/sentry/wchar_t/ Likewise.
	* testsuite/27_io/basic_ostream/inserters_other/char/ Likewise.
	* testsuite/27_io/basic_ostream/inserters_other/wchar_t/ Likewise.
	* testsuite/27_io/ios_base/storage/ Likewise.

Tested powerpc64le-linux, committed to trunk.

Attachment: patch.txt
Description: Text document

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]