https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33053
--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Daniel Lundin from comment #5) > This ought to result in stricter optimizing behavior from gcc, not the other > way around. Well, GCC did implement this already. My request was that we should document this, so that users can depend on this. > As reported in bugĀ 108298 > (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108298), gcc 11 and beyond > rather seems to optimize more aggressively, which it didn't up to version > 10.4. And that is a bug. I'll reopen that PR.