https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285
François Dumont <fdumont at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org --- Comment #12 from François Dumont <fdumont at gcc dot gnu.org> --- I agree with Jonathan, this use case is showing that the optimization is not Standard compliant. I'll got it removed shortly.