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

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 2 17:42:00 GMT 2011


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?



More information about the Gcc-bugs mailing list