[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
Fri Nov 14 08:36:00 GMT 2008



------- Comment #3 from jv244 at cam dot ac dot uk  2008-11-14 08:34 -------
This could be somewhat similar, I really wonder if this needs a temp:

TYPE T1
 INTEGER :: a(3)
END TYPE T1
TYPE(T1), POINTER :: x,y
ALLOCATE(x,y)
x%a=y%a
END


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36933



More information about the Gcc-bugs mailing list