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 #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-02 17:42:05 UTC ---
Is there a reason why you are removing:
-  A a2 = { 24 };
-  if (a2.i != 24) return 2;

>From the testcase?


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