This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Symbol has no implicit type bug
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Andrew Benson <abenson at its dot caltech dot edu>
- Cc: gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 26 Mar 2012 20:08:29 +0200
- Subject: Re: Symbol has no implicit type bug
- References: <23801564.Nq56vcLB9A@ajblaptop2011>
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