This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38111] unneeded temporary
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Aug 2013 08:21:57 +0000
- Subject: [Bug fortran/38111] unneeded temporary
- Auto-submitted: auto-generated
- References: <bug-38111-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38111
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu.org
--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
One way of handling this would be to create a DO loop
from the array assignment.
Of course, we would have to make sure check for dependencies,
for example
a = [(a(4)+3,i=1,n)]