[Bug c++/60417] New: [4.9 regression] [DR 1518] Bogus error on C++03 aggregate initialization
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 4 21:14:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60417
Bug ID: 60417
Summary: [4.9 regression] [DR 1518] Bogus error on C++03
aggregate initialization
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jason at gcc dot gnu.org
Depends on: 54835
This testcase is valid C++98, but we've started to reject it since the patch
for 54835.
struct A { explicit A(int = 0); };
struct B { A a; };
int main()
{
B b = {};
}
More information about the Gcc-bugs
mailing list