[Bug c++/68949] New: [5.? Regression] Implicit initialization of array member silently miscompiling.

2015-12-16 Thread woutershep at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: woutershep at gmail dot com Target Milestone: --- Created attachment 37056 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37056&action=edit ii Hello, i belie

[Bug c++/68949] [5.? Regression] Implicit initialization of array member silently miscompiling.

2015-12-16 Thread woutershep at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68949 --- Comment #1 from Wouter van Kesteren --- Created attachment 37057 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37057&action=edit cc

[Bug c++/68949] [5/6 Regression] Implicit initialization of array member silently miscompiling.

2015-12-16 Thread woutershep at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68949 --- Comment #3 from Wouter van Kesteren --- The program is (imo atleast) supposed to exit with success (0), not with 1, which is a failure. So i would say it is NOT working in gcc6 based on the output you showed.

[Bug c++/68949] [5/6 Regression] Implicit initialization of array member silently miscompiling.

2015-12-16 Thread woutershep at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68949 --- Comment #4 from Wouter van Kesteren --- I realise that maybe in my effort to make a tiny testcase without headers so that the .ii wasnt hundreds of lines the testcase might have become a bit hard to grasp. I'll attach a second cc with a iostr

[Bug c++/68949] [5/6 Regression] Implicit initialization of array member silently miscompiling.

2015-12-16 Thread woutershep at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68949 --- Comment #5 from Wouter van Kesteren --- Created attachment 37058 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37058&action=edit zero-cout.cc