This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60417] New: [4.9 regression] [DR 1518] Bogus error on C++03 aggregate initialization
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Mar 2014 21:13:59 +0000
- Subject: [Bug c++/60417] New: [4.9 regression] [DR 1518] Bogus error on C++03 aggregate initialization
- Auto-submitted: auto-generated
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 = {};
}