[Bug fortran/36933] unneeded temporary with derived type containing an array as argument
jv244 at cam dot ac dot uk
gcc-bugzilla@gcc.gnu.org
Wed Feb 10 09:30:00 GMT 2010
------- Comment #6 from jv244 at cam dot ac dot uk 2010-02-10 09:29 -------
(In reply to comment #5)
> the testcase in comment #3 might
> actually be tricky.
Let me clarify:
TYPE T1
INTEGER :: a(3)
END TYPE T1
TYPE(T1), POINTER :: x,y
x=>y
x%a=y%a
END
in this case x%a and y%a are the same array in memory, which might make this a
somewhat special case? Obviously, they are known to be contiguous
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36933
More information about the Gcc-bugs
mailing list