https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114228
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like this was on purpose, see PR 111583 for more analysis. Basically if buff/input were either NULL, then this would have been an invalid transformation. So invalid.