https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107805
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- One side-effect of not setting specs->type to error_mark_node is that on: typedef int t; typedef struct { double a; int b; } t; t int x; we don't diagnose the second bug (two or more types in the x declaration).