https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228
--- Comment #21 from Zhendong Su <zhendong.su at inf dot ethz.ch> --- Another very likely related reproducer. [628] % gcctk -v Using built-in specs. COLLECT_GCC=gcctk COLLECT_LTO_WRAPPER=/local/home/suz/suz-local/software/local/gcc-trunk/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20230701 (experimental) [master r14-924-gd709841ae0f] (GCC) [629] % [629] % gcctk -O3 small.c [630] % for i in $(seq 1 10); do > echo $i > ./a.out > done 1 Floating point exception 2 Floating point exception 3 Floating point exception 4 Floating point exception 5 Floating point exception 6 Floating point exception 7 Floating point exception 8 Floating point exception 9 10 [631] % cat small.c int a, b, c, d, e, f = 1, g, h; int main () { int i; for (; g < 1; g++) { if (!a) i = 1; for (; b < 1; b++) L: ; } int k = -1 / f; while (d) i = 0; c = k; e = ~i; if (e > h) { f = 0; goto L; } return 0; }