[Bug c++/120646] Parenthesized declarators of bit-fields are incorrectly rejected

luigighiron at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Jul 19 03:45:34 GMT 2025


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

Halalaluyafail3 <luigighiron at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Halalaluyafail3 <luigighiron at gmail dot com> ---
Looking at the standard closer
https://eel.is/c++draft/class.mem.general#nt:member-declarator this code is
actually invalid since it only specifies an identifier can be used. However,
the error message is still misleading so I will open another bug for that.


More information about the Gcc-bugs mailing list