https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113089
--- Comment #7 from Alex Coplan <acoplan at gcc dot gnu.org> --- (In reply to Manolis Tsamis from comment #6) > (In reply to Alex Coplan from comment #5) > > Also ICEs without -fno-strict-aliasing FWIW, so just -g -O2 -funroll-loops > > seems to be enough. > > On my local build it doesn't reproduce without -fno-strict-aliasing; I just > double-checked (GCC master @ 4e0a467302fea56d63b7a6d17f99c0f388960dc7). Hmm, that is odd, I definitely don't need that option even when built from the same commit. How are you configuring GCC? I suppose it doesn't matter since I can reproduce the problem as long as the fix works with/without -fno-strict-aliasing.