https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113099
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to andysem from comment #3) > I think, a failing dynamic_cast would not be useful as this would make > std::use_facet unusable with -fno-rtti. I don't see a problem with that. If you want to use a polymorphic container of facets, you need RTTI. The standard facets will work, but it doesn't seem reasonable to expect it to work for program-defined facets. And a std::use_facet that fails seems better than one that segfaults, doesn't it?