http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36842
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Fortran: Minimize heap |Fortran: Minimize heap |allocation of temporary |allocation of temporary |arrays. |arrays by loop versioning | |in the frontend --- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-07 13:54:47 UTC --- I think the report asks for performing loop versioning in the frontend, thus emit if (Rx and Ry may overlap) { ... current code ... } else { ... code without temporary } where of course the tricky part is creating the appropriate condition and deciding if it is worthwhile doing the versioning.