https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86130
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Paul Sanders from comment #12) > Any interest? Good grief, no. That would generate even worse code than what we have now, and it's possible to test for badbit without enabling exceptions. You keep making assumptions about what everyone else's programs do, and we have no way of knowing what the majority of libstdc++ users expect from this code, or how much code relies on the current behaviour.