https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78194
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2016-11-03 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Looks somewhat artificial (we do have a related bug I think where I played with enhancing chrec_apply, PR65855). That said, SCEV / SCCP is supposed to catch these things and chrec_apply is where limited support comes in.