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

--- Comment #4 from Roland Illig <roland.illig at gmx dot de> ---
(In reply to Richard Earnshaw from comment #3)
> Both pragma and attribute are keywords in the language.  If the substituted
> value were placed in quotes, would that help?

No, it wouldn't. It would only confuse users. Imagine the following diagnostic:

>> target »attribute« »__format__« is invalid

Although "attribute" and "pragma" are both keywords in the language, they are
not used as such in this diagnostic. Rather, they form part of the normal
sentence structure.

Reply via email to