Symbol has no implicit type bug

Andrew Benson abenson@its.caltech.edu
Mon Mar 26 18:15:00 GMT 2012


Hi Thomas:

> > 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!

No problem. It's now filed as PR 52729:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52729

Thanks,
Andrew.

-- 

* Andrew Benson: http://www.tapir.caltech.edu/~abenson/contact.html

* Galacticus: http://sites.google.com/site/galacticusmodel



More information about the Fortran mailing list