https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86130
--- Comment #21 from Jeremy R. <llvm at rifkin dot dev> --- Another option might be just do nothing and don't set the badbit, just pretend it's an empty string. This shouldn't break existing programs and would at least be something a programmer could more easily track down.