https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69377
kugan at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kugan at gcc dot gnu.org --- Comment #3 from kugan at gcc dot gnu.org --- I am not able to reproduce it. This is my setup: I had to initialise variables in gcc/ccmp.c to workaround uninitiated variables. I did ./contrib/download_prerequisites in source tree. x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/home/kugan/test/install3/usr/local/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/home/kugan/test/install3/usr/local/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --enable-languages=c,c++ --enable-multilib Thread model: posix gcc version 6.0.0 20160119 (experimental) (GCC) x86_64-pc-linux-gnu-gcc -O2 -m32 t1.c; ./a.out 2 1 1 Also tried -O1/-Os/-O3