https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66602
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #2 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- It seems that gcc 5.1.0 produces a random value such as 557195712 or -214982144 for the first output statement when compiled against C++11 or beyond that C++ target version. It seems, though, that the current head (tested agains gcc HEAD 6.0.0 20150619 (experimental)) has fixed that problem.