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.