https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80161
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2017-03-24 Component|target |middle-end Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- OMP outlining happens too early and as it takes the address of the outlined function most IPA propagation doesn't work. Not sure if it properly passes scale by value rather than through the static chain. It's a general issue of OMP I guess (disabling of IPA).