This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran compiler behavior with module code
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: uttamp at us dot ibm dot com (Uttam Pawar)
- Cc: fortran at gcc dot gnu dot org
- Date: Thu, 27 Oct 2005 20:07:23 -0400 (EDT)
- Subject: Re: gfortran compiler behavior with module code
>
> Hi,
>
> Following code compiles fine with gfortran (gcc version 4.1.0 20051018)
that gfortran version is getting a little old. gfortran development
is to a point that some bugs are being fixed fast.
Anyways gfortran gets it right as of today:
n file t.f90:9
TYPE (POINT) :: A, B
1
Error: Derived type at (1) has not been previously defined and so cannot appear in a derived type definition.
-- Pinski