https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85222
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Do you know of any other exception type affected by the c++11 vs. old ABI issue or does the entire I/O hierarchy only ever throw exactly ios_base::failure? So a workaround would be to marshal these somehow in the C++ EH personality routine? The c++11 variant seems to be a superset feature-wise (apart from the changed inheritance), so constructing (in-place?!) the c++98 variant once we hit a filter for c++98 ios_base::failure with an EH object of type ios_base::failure[c++11] would "work"?