This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50965] C++11 Non static member initializer are not run when class is initialized with {}
- 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: Fri, 04 Nov 2011 17:15:14 +0000
- Subject: [Bug c++/50965] C++11 Non static member initializer are not run when class is initialized with {}
- Auto-submitted: auto-generated
- References: <bug-50965-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50965
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-04 17:15:14 UTC ---
Author: jason
Date: Fri Nov 4 17:15:02 2011
New Revision: 180965
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180965
Log:
PR c++/50965
* class.c (check_field_decls): NSDMI makes a class non-aggregate.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi1.C