https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61171
alalaw01 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alalaw01 at gcc dot gnu.org --- Comment #2 from alalaw01 at gcc dot gnu.org --- This vectorizes fine, if vv is made a local variable: float isOk() { float vv = 0; for (int j=0U; j<N; ++j) { float ax = xx-px[j]; vv+=ax; } return vv; }