This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51284] [OOP] CLASS and VALUE attribute: No copy to temporary done
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Dec 2011 12:54:29 +0000
- Subject: [Bug fortran/51284] [OOP] CLASS and VALUE attribute: No copy to temporary done
- Auto-submitted: auto-generated
- References: <bug-51284-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51284
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-12-11 12:54:29 UTC ---
(In reply to comment #2)
> - Handle the "copy in" for derived types and class (both scalar and array)
For derived types: The arguments are passed by value thus it works. However, no
copying is done for allocatable components. Note: Also "( )" (=
INTRINSIC_PARENTHESES) does not work for DT w/ allocatable components.