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

            Bug ID: 90158
           Summary: aarch64: wrong quotation in diagnostics
           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: ---

From aarch64.c:

error ("invalid name (\"%s\") in %<target(\"arch=\")%> pragma or attribute",
str);

Here, the "%s" should be replaced with %qs, to conform to the GCC guidelines
for diagnostics, see
https://gcc.gnu.org/onlinedocs/gccint/Guidelines-for-Diagnostics.html#Quoting.


error ("invalid feature modifier %s of value (\"%s\") in "
       "%<target()%> pragma or attribute", invalid_extension.c_str (), str);

The %s must be %qs here.

Reply via email to