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

2017-08-18 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2017-08-18 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 --- Comment #4 from Ville Voutilainen --- I have sent this to Core for consideration.

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

2017-08-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 --- Comment #3 from Jonathan Wakely --- EDG rejects it too: "gr.cc", line 3: error: expected a declaration new struct A {{ }}; ^ "gr.cc", line 3: error: type definition is not allowed new struct A {{ }};

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

2017-08-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

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

2011-08-23 Thread ville.voutilainen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169 Ville Voutilainen ville.voutilainen at gmail dot com changed: What|Removed |Added CC|