Dear Steve, Thanks - committed as revision 231807. I will have a poke around to see if there are any more similar opportunities for infinite recursion in trans-array.c (structure_alloc_comps). This turned out to be the most difficult part of the patch for recursive allocatable components (on hold until 7 branch) for rather obvious reasons; the solution there is rather different since it is required that recursion occurs on deallocation and this necessitates an explicit call to the finalizer in structure_alloc_comps, instead of a call to itself.
Cheers Paul On 18 December 2015 at 04:56, Steve Kargl <s...@troutmask.apl.washington.edu> wrote: > On Thu, Dec 17, 2015 at 11:12:17PM +0100, Paul Richard Thomas wrote: >> >> Some problems have come up that are not dissimilar to the original >> bug, involving infinite recursion with procedure components, with the >> same type as the containing type. The fix is verging on the trivial. >> However, given that I found two further bugs in fixing the one >> reported, I worry that there are more lurking nearby. >> >> Bootstraps and regtests on x86_64 - OK for trunk and, in a couple of >> weeks 5 and 4.9 branches? >> > > OK. > > Do you have a testcase that should also be committed? > > -- > Steve