Hi Steve,
When an specification statement in a BLOCK construct has a PARAMETER attribute, gfortran currently discards the entity. This patch marks PARAMETER entity if in a BLOCK. I'm not complete convince that this is the right fix, but it does allow the testcase to compile and run. Built and tested on x86_64-*-freebsd. OK to commit (if not no one has a better patch)?
OK. And thanks for the patch! Thomas