https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63466
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- To be a bit less unfair, you could pull the declarations of the 3 variables out of the loop. Even if optimizations are possible, I doubt we can go anywhere near the C perf...