[Bug fortran/31593] Invariant DO loop variables and subroutines
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 14 22:58:00 GMT 2009
------- Comment #26 from tobi at gcc dot gnu dot org 2009-08-14 22:58 -------
(In reply to comment #25)
> (In reply to comment #23)
>
> Actually, you're right. In nested loops, there's no way without copying.
>
If it weren't for the outermost loop it would actually be perfectly legal to
modify 'value' inside the loops. If there were a way of telling the compiler
"this pointer can't escape" this would be really easy to solve.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31593
More information about the Gcc-bugs
mailing list