https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77569
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 40446 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40446&action=edit gcc7-pr77569.patch Untested fix that implements the verification - if that message has been translated, the self-test will still work, but will not catch ebcdic handling bugs the same as when it is not translated.