[Bug c++/78280] GCC incorrectly accepts assignment in bitfield width
zeratul976 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 9 19:04:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78280
Nathan Ridge <zeratul976 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zeratul976 at hotmail dot com
--- Comment #1 from Nathan Ridge <zeratul976 at hotmail dot com> ---
(To clarify, the reason this is incorrect is that in the C++ grammar, the
bitfield width is a constant-expression, which excludes
assignment-expressions.)
More information about the Gcc-bugs
mailing list