https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67048
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.8.5 Target Milestone|--- |9.5 Known to fail| |10.1.0, 11.1.0, 4.9.0, | |9.4.0 Summary|GCC rejects well-formed |[9/10/11/12 Regression] GCC |program using empty |rejects well-formed program |anonymous enum specifier in |using empty anonymous enum |a variable declaration |specifier in a variable | |declaration --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This was almost definitely caused by PR 54216 .