https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80895
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Still broken: else - error (gmsgid); + error ("%s", gmsgid); And more where you have *msgid. I bet invalid_func_diag has similar too.