[Bug fortran/36842] Fortran: Minimize heap allocation of temporary arrays by loop versioning in the frontend
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 13:57:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list