RFC: Backport deep-copy assignment for constructors (PR 49324)

Tobias Burnus tobias.burnus@physik.fu-berlin.de
Thu Jun 16 07:34:00 GMT 2011

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

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? 


More information about the Gcc-patches mailing list