[Bug c++/70382] Attribute not supported on bit-field declarations
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 14 19:12:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70382
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |msebor at gcc dot gnu.org
Known to work| |8.2.0, 9.0
Resolution|--- |FIXED
Known to fail| |5.3.0, 6.4.0, 7.3.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
This was fixed in GCC 8 via r253281:
r253281 | jakub | 2017-09-29 03:49:15 -0400 (Fri, 29 Sep 2017) | 8 lines
cp/
* parser.c (cp_parser_member_declaration): Parse attributes before
colon of a bitfield in addition to after colon.
testsuite/
* g++.dg/ext/bitfield7.C: New test.
* g++.dg/ext/bitfield8.C: New test.
* g++.dg/ext/bitfield9.C: New test.
More information about the Gcc-bugs
mailing list