https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90156
Bug ID: 90156 Summary: add linter check suggesting to replace %<%s%> with %qs Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: translation Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- For GCC 9, all occurrences of %<%s%> had been replaced with %qs. That must have been before 2019-01-08 since on that day the following code appeared in aarch64.c: error ("invalid arg %<%s%> for %<-mbranch-protection=%>", str); To prevent this unnecessarily verbose %<%s%> in the future, check-internal-format-escaping.py should check for this as well and suggest to replace it with the simpler %qs.