https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70274
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2016-03-17 CC| |rguenth at gcc dot gnu.org Component|middle-end |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Yes. It's SCCP that runs and does this transform independently of whether it makes the loop "dead" or whether it enables other transforms such as vectorization. IMHO it should be re-written as a tool used by transforms it enables.