Message ID | CAFiYyc0P8sfD8V79aWYnzZqTaumVXAFgn7YZpzXe+9ZnN6Kv+A@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/c-family/c-lex.c b/gcc/c-family/c-lex.c index e1c8bdff986..6d0e9279ed6 100644 --- a/gcc/c-family/c-lex.c +++ b/gcc/c-family/c-lex.c @@ -316,6 +316,7 @@ c_common_has_attribute (cpp_reader *pfile) { attr_name = get_identifier ((const char *) cpp_token_as_text (pfile, token)); + attr_name = canonize_attr_name (attr_name); I wondered if we can save allocating the non-canonical identifier. Like with