https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88642
--- Comment #3 from Andrew Pinski ---
So this code is quiet old. There was an error back before
r0-5028-g790e949032a94b (1993, change by RMS) and mailing lists don't exist
that far back ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88642
--- Comment #2 from Andrew Pinski ---
We do warn:
: In function 'main':
:3:5: warning: braces around scalar initializer
3 | int x = { { 0 } } ;
| ^~~
Maybe this should be a pedantic warning instead ...
if (constructor_ty
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88642
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|