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

--- Comment #3 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> Why do you think this is a regression?
> /usr/src/gcc-test/obj/gcc/cc1.90000 pr91193.c
>  a
> 
> pr91193.c:2: error: ‘a’ redeclared as different kind of symbol
> pr91193.c:1: error: previous declaration of ‘a’ was here
> pr91193.c: In function ‘a’:
> pr91193.c:2: internal compiler error: tree check: expected class ‘type’,
> have ‘declaration’ (function_decl) in grokdeclarator, at c-decl.c:3788
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> 
> I don't have anything older than r90000.
> 
> And slightly cleaner
> typedef int a;
> void a() a b;
> also ICEs.

You are right. Sounds like not a regression.
Sorry

Reply via email to