This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50965] C++11 Non static member initializer are not run when class is initialized with {}


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]