https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63205
paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.richard.thomas at gmail dot c | |om --- Comment #3 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> --- Created attachment 33834 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33834&action=edit Very deficient, first order patch The attached is deficient in a number of ways: (i) It will not work with a dynamic type result != declared type (ii) The block in trans-array.c:2549-2560 needs to be moved to somewhere more appropriate (iii) Find out why info->delta[] is not set (iv) dynamic types with allocatable components will have to have those components deallocated (use _copy with default_init?) Apart from that, it's a start :-) Paul