https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91193
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- 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.