https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67580
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2015-09-15 CC| |manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Perhaps after failing to find type 'S' and before giving the error, it could try to find 'struct S' and 'union S' (perhaps even enum S) using lookup_tag() in c-decl.c.