https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
            Summary|Assignment to rvalue        |empty class causes error
                   |                            |while non-empty does not

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note even the following X causes an error:
struct X {int :1;};

Maybe that will give a hint of where the bug is located.

Reply via email to