https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Assignee|gaius at gcc dot gnu.org |jakub at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2022-12-16
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 54115
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54115&action=edit
gcc13-pr108147.patch
Untested fix.
One thing I wonder about though, does the FE guarantee that the % chars never
appear in the diagnostic strings? If not, we should incrementally call the
varargs functions with "%s", message rather than message (including error_at
and
internal_function).