On 27/09/14 01:47, Christopher Li wrote: > Catching up my backlog. > > On Fri, Aug 8, 2014 at 4:11 AM, Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxx> wrote: [...] >> Just for the >> record, I don't know of any use of __restrict__ in an abstract array >> declaration on _any_ platform. > > If there is no code using the __restrict__ for abstract array, we shouldn't need > this line: Of course, just because I'm not aware of any such use, doesn't mean there isn't one. :-D gcc supports this usage, so it would be useful if sparse did also. >> @@ -1553,7 +1554,7 @@ static struct token *abstract_array_declarator(struct token *token, struct symbo >> >> token = abstract_array_static_declarator(token, &has_static); >> >> - if (match_idents(token, &restrict_ident, &__restrict_ident, NULL)) >> + if (match_idents(token, &restrict_ident, &__restrict_ident, &__restrict___ident, NULL)) >> token = abstract_array_static_declarator(token->next, &has_static); >> token = parse_expression(token, &expr); >> sym->array_size = expr; > > Or, if you have valid reason to add it. Please provide a test case for > this code path. Yep, will do. ATB, Ramsay Jones -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html