Hi Steve,
The attached patch fixes an ICE by detecting a name clash between a procedure statement and a contained subprogram. Regression tested on x86_64-*-freebsd.
The patch is OK. Thanks! Regards Thomas (In case anybody is wondering about my e-mail address: I have a new one and am switching over lists etc to this one, so I can have a chance of switching my provider).