This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
RFC: Backport deep-copy assignment for constructors (PR 49324)
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Thu, 16 Jun 2011 09:22:44 +0200
- Subject: RFC: Backport deep-copy assignment for constructors (PR 49324)
Hi all,
if the RHS is an array constructor, gfortran didn't deep copy
allocatable components. That was fixed for the trunk by the patch at
http://gcc.gnu.org/ml/fortran/2011-06/msg00095.html
The wrong-code issue is not a regression and code leading to
the bug seems to be sparse, judging how many compilers are
affected by the bug (cf. PR).
Nethertheless, I am considering to backport it to 4.6. One
could also backport it to 4.5 or even 4.4.
What do you think?
Tobias