https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70102
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-03-07 CC|richard.guenther at gmail dot com | Blocks| |53947 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed and mine. I suppose taking into account operation kind of defs when computing rank() may work here. But in general the vectorizer doesn't consider re-associating things when building the SLP tree. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations