[Bug c++/115820] Qualified anonymous union is not diagnosed

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 8 05:11:17 GMT 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.4.6
   Last reconfirmed|                            |2024-07-08
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Not a regression. Looks like it has always been accepted without a
pedwarn.

Note C11 allows for qualifications on anonymous unions/structs.


More information about the Gcc-bugs mailing list