https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102764
Bug ID: 102764 Summary: -fcompare-debug failure (length) at -O3 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: cnsun at uwaterloo dot ca Target Milestone: --- (Really do not know what is the best summary for this bug.) $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /tmp/tmp.gzh6IUhxke-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211014 (experimental) [master -gee9fa8a57] (GCC) $ cat mutant.c volatile a; main() { int i; for (i = 0; i < 1000; i++) if (i % 17) a++; } $ gcc-trunk -w -fcompare-debug -O3 mutant.c gcc-trunk: error: mutant.c: ‘-fcompare-debug’ failure (length)