https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53083
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED CC| |egallager at gcc dot gnu.org Resolution|--- |WORKSFORME --- Comment #14 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Pierre Ossman from comment #11) > Created attachment 30419 [details] > main.c > > We've also been hitting this, so here is a reduced test case to provoke the > bug. Output in the failing case: > > test_spans(nspans=36) > 101,100 + 1 > 101,0 + 1 > 0,100 + 0 > Aborted (core dumped) > > > And for a correct run: > > test_spans(nspans=36) > 101,100 + 1 > 101,100 + 1 > 101,100 + 1 > 101,100 + 1 > 101,101 + 1 > 101,101 + 1 > 101,99 + 1 > 101,99 + 1 > 101,102 + 1 > ... The program runs successfully for me with both the "ok" and the "fail" sets of CFLAGS, as well as the CFLAGS you listed in your original report. I can't reproduce the bug with gcc8, so I'm closing this as WORKSFORME.