Symbol has no implicit type bug

Thomas Koenig tkoenig@netcologne.de
Mon Mar 26 18:08:00 GMT 2012


Hi Andrew,

>
> The following fails to compile with the latest gfortran 4.8 (r185768):
>
>      select type (testObject)
>      class is (testType)
>         testVal=testFunc()
>         r =>  testFunc
>      end select
>      return
>    end subroutine testSub

This sure is a bug; for some reason, gfortran creates its own symbol
within the select type block instead of looking for it elsewhere.

Can you file a PR?  Thanks!

	Thomas



More information about the Fortran mailing list