This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49324] Deep copy missing for array constructors of DT w/ allocatable components
- 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: Fri, 10 Jun 2011 12:45:33 +0000
- Subject: [Bug fortran/49324] Deep copy missing for array constructors of DT w/ allocatable components
- Auto-submitted: auto-generated
- References: <bug-49324-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49324
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-10 12:45:13 UTC ---
Submitted patch, which fixes - except of RESHAPE - the issue of comment 0 and
comment 3:
http://gcc.gnu.org/ml/fortran/2011-06/msg00095.html
TODO: See comment 6: Namely, for realloc on assignment, the malloced memory is
not NULLified - and RESHAPE is wrong (missing deep copy).