On 08/13/2012 04:32 PM, Mikael Morin wrote:
here is a fix for PR47586: missing deep copy for the case:
dt_w_alloc = ptr_func(arg)
The patch set looks okay. I am not 100% sure how compatible your changes
are with regards to finalization and coarray components, but I have the
impression they
Hello,
here is a fix for PR47586: missing deep copy for the case:
dt_w_alloc = ptr_func(arg)
where dt_w_alloc is of derived type with allocatable components, and
ptr_func returns a data pointer.
The fix tweaks expr_is_variable so that gfc_trans_scalar_assign is
called with the flag enabling