https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98598
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|tree-ssa |11.0 Status|UNCONFIRMED |NEW Keywords| |missed-optimization Last reconfirmed| |2021-01-08 CC| |amker at gcc dot gnu.org, | |matz 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> --- GCC doesn't have any such capability (introducing temporary storage to allow loop distribution or other transforms). But the transform would fit into loop distribution (or rather after introducing the array loop distribution could distribute the loop - even though it's cost model likely says that's not wanted).