https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Seems like with -fno-move-loop-invariants even gcc 4.9 miscompiles this.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62151
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Seems like with -fno-move-loop-invariants even gcc 4.9 miscompiles this.