Re: [patch, fortran] Fix PR 78865, ICE on invalid

2019-03-24 Thread Paul Richard Thomas
Hi Thomas, This is OK for trunk and, after a wee delay for the other active branches. Thanks Paul On Fri, 22 Mar 2019 at 22:56, Thomas Koenig wrote: > > Hello world, > > the attached patch fixes a 7/8/9 regression. The problem was twofold: > If a subroutine was called more than once from a di

[patch, fortran] Fix PR 78865, ICE on invalid

2019-03-22 Thread Thomas Koenig
Hello world, the attached patch fixes a 7/8/9 regression. The problem was twofold: If a subroutine was called more than once from a different subroutine, the call was only checked the first time. Also, a type change in the backend_decl initiated when there was already a declaration led to an IC