https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84240
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED CC| |egallager at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to xvl5190 from comment #2) > Please try this example with optimization level -O1/-O2/-O3: > You still haven't said what architecture it's for, but I'm guessing x86. Anyways, I can't reproduce on *86*-apple-darwin with any of gcc 6, 7, or 8, but I can reproduce for gcc 5. So it looks like it was fixed between 5 and 6.