https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89936

            Bug ID: 89936
           Summary: wrong punctuation in tree-profile.c
           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: ---

error ("invalid regular expression '%s' in %<%s%>",

Please implement a GCC-specific linter that prohibits single quotes in
messages. These should either be %' if they are meant as punctuation, or %q if
they enclose a placeholder.

Do not just fix this single typo. There are more to come, and they will never
end. I've seen far too many now. Just write a little linter. It's not that
difficult.

Reply via email to