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: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 Nov 2011 17:42:05 +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 #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?