[Bug libstdc++/85222] [7/8 Regression] ABI breakage of __throw_ios_failure by r244498

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 5 08:02:00 GMT 2018


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"?


More information about the Gcc-bugs mailing list