https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70064
Bug ID: 70064 Summary: wrong code with custom flags and quite big testcase @ i686 Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Target: i686-pc-linux-gnu Created attachment 37854 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37854&action=edit autoreduced testcase The testcase is likely very fragile due to the set of compiler flags and quite big testcase itself. Neither seems to be easily reducible. Output: $ i686-pc-linux-gnu-gcc -Os -march=athlon-tbird -fPIC -fsched-pressure -fsched-stalled-insns -fschedule-insns -fno-tree-reassoc -momit-leaf-frame-pointer -mpclmul -mred-zone -mno-stv -fira-algorithm=priority --param=max-sched-ready-insns=0 testcase.c -Wno-psabi $ ./a.out 0000318f9e133048 Aborted $ i686-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-i686/bin/i686-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-233911-checking-yes-rtl-df-nographite-i686/bin/../libexec/gcc/i686-pc-linux-gnu/6.0.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=i686-pc-linux-gnu --with-ld=/usr/bin/i686-pc-linux-gnu-ld --with-as=/usr/bin/i686-pc-linux-gnu-as --with-sysroot=/usr/i686-pc-linux-gnu --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-233911-checking-yes-rtl-df-nographite-i686 Thread model: posix gcc version 6.0.0 20160302 (experimental) (GCC)