[Bug c++/50169] "new struct X {{}};" incorrectly treated as an invalid struct-definition

ville.voutilainen at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 18 19:58:00 GMT 2017


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

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-08-18
                 CC|                            |jason at redhat dot com
     Ever confirmed|0                           |1

--- Comment #5 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
This is DR 2141:
http://open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#2141

The original code is supposed to be valid, so confirming this as an actual bug.


More information about the Gcc-bugs mailing list