https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66740
--- Comment #4 from tprince at computer dot org --- It optimizes with implicit simd reduction and gives correct result with option -ffast-math in place of -fopenmp.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66740
--- Comment #4 from tprince at computer dot org --- It optimizes with implicit simd reduction and gives correct result with option -ffast-math in place of -fopenmp.