Re: [Patch, fortran} pr68196 [4.9/5 Regression] ICE on function result with procedure pointer component

2015-12-18 Thread Paul Richard Thomas
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

Re: [Patch, fortran} pr68196 [4.9/5 Regression] ICE on function result with procedure pointer component

2015-12-18 Thread Paul Richard Thomas
Sorry, yes; proc_ptr_48.f90 ! { dg-do run } ! ! Checks the fix for PR68196, comment #8 ! ! Contributed by Damian Rouson ! type Bug ! Failed at trans--array.c:8269 real, allocatable :: scalar procedure(boogInterface),pointer :: boog end type interfa

Re: [Patch, fortran} pr68196 [4.9/5 Regression] ICE on function result with procedure pointer component

2015-12-17 Thread Steve Kargl
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, give

[Patch, fortran} pr68196 [4.9/5 Regression] ICE on function result with procedure pointer component

2015-12-17 Thread Paul Richard Thomas
Dear All, 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 t