https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.4.7
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #6)
> (In reply to Andrew Pinski from comment #5)
> > Note even the following X causes an error:
> > struct X {int :1;};
> >
> > Maybe that will give a hint of where the bug is located.
>
> Which makes this a regression even :).
> The above with just one anonymous bitfield field is accepted until GCC 6.
>
> But this should give even more of what is the underlaying bug.
r6-7811 exposed the latent bug for the anonymous bitfield case (which is
expected).
The original testcase worked in 4.4.7 also.