[Bug c++/63526] O1 O2 O3 optimization and inline template constructor - uninitialized member

2014-10-13 Thread eles.david.88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63526 --- Comment #5 from Dávid Éles --- (In reply to Daniel Krügler from comment #3) > (In reply to Dávid Éles from comment #2) > > I uses the default mechanism to initialization of members. > > As far as I know the C++ standard says (8.5/5): > > To

[Bug c++/63526] O1 O2 O3 optimization and inline template constructor - uninitialized member

2014-10-13 Thread eles.david.88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63526 --- Comment #2 from Dávid Éles --- (In reply to Jonathan Wakely from comment #1) > Why do you think the member should be zero-initialized? Your constructor > fails to initialize it. I uses the default mechanism to initialization of members. As

[Bug c++/63526] New: O1 O2 O3 optimization and inline template constructor - uninitialized member

2014-10-13 Thread eles.david.88 at gmail dot com
: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eles.david.88 at gmail dot com Created attachment 33701 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33701&action=edit Test case It seems due to missi