[Bug fortran/49324] Deep copy missing for array constructors of DT w/ allocatable components

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 10 12:45:00 GMT 2011


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).



More information about the Gcc-bugs mailing list