This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Symbol has no implicit type bug


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]