https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61721
Lauri Kasanen <cand at gmx dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|4.10.0 |5.0 --- Comment #7 from Lauri Kasanen <cand at gmx dot com> --- Latest trunk (214073) is still broken. Using latest trunk, I tried all optimization sub-options in O2 to find the smallest hammer that fixes it. -O2 -fno-thread-jumps: crash -O2 -fno-align-functions: crash ... -O2 -fno-use-caller-save: crash The only combos that worked: -O2 -fno-inline-small-functions: works -O2 -fno-strict-aliasing: works Moving to -O1 with those: -O1 -finline-small-functions: works -O1 -fstrict-aliasing: works -O1 -fstrict-aliasing -finline-small-functions: crash This does point to the code being wrong somehow, but in that case, -Wall -Wextra should say something, and this would be a missing warning bug in gcc.