https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82450
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > (In reply to Richard Biener from comment #2) > > We once had a very aggressive pass to do this as part of graphite > > transforms, > > it's on the GCC 4.7 branch. > > https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/graphite-flattening.c; > h=33f25e01b03f680493f0b396a81cc8e421598a8c;hb=refs/heads/releases/gcc-4.7 > > For reference. https://gcc.gnu.org/pipermail/gcc-patches/2010-September/293708.html