This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]