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

2011-11-04 Thread jason at gcc dot gnu.org
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=gccview=revrev=180965 Log: PR c++/50965 *

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

2011-11-04 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50965 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

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

2011-11-02 Thread ogoffart at kde dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50965 --- Comment #1 from Olivier Goffart ogoffart at kde dot org 2011-11-02 17:33:26 UTC --- Created attachment 25691 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25691 Suggested patch

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

2011-11-02 Thread pinskia at gcc dot gnu.org
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?

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

2011-11-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50965 --- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2011-11-02 17:42:23 UTC --- Also patches goto gcc-patches@.

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

2011-11-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50965 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||jason at