------- Comment #1 from pault at gcc dot gnu dot org 2009-12-17 20:51 ------- I believe that gfortran behaves correctly in all the testcases in this thread. I have written to Bob Corbet to see if he agrees. The nub of the matter is that a local declaration always has precedence over a host associated one.
My inclination is to close the PR unless Bob disagrees. Cheers Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35913