https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104809
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2022-03-07 Ever confirmed|0 |1 Severity|normal |trivial --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > error_at (loc, "not Encapsulated Lazy Records of Named Declarations"); Maybe it should be: error_at (loc, "encapsulated file in the wrong format, not an ELF file."); All of the error messages in elf_in::begin in cp/modules.cc should definitely be improved, though I don't think they will show up that often.