https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88598
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2019-01-02 CC| |rsandifo at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- The issue for bar() is that we do not have constant folding for <bb 2> [local count: 894749062]: vect__5.23_41 = MEM[(const float *)v_16(D)]; vect__6.24_42 = vect__5.23_41 * { 0.0, 1.0e+0, 0.0, 0.0 }; stmp_ret_17.26_45 = .REDUC_PLUS (vect__6.24_42); [tail call] return stmp_ret_17.26_45; fold-const-call.c would be the place to amend with the various IFNs we accumulated.