This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31560] improve error message for using components of later decl. variables in specification expressions
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2007 18:03:33 -0000
- Subject: [Bug fortran/31560] improve error message for using components of later decl. variables in specification expressions
- References: <bug-31560-14401@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-11-20 18:03 -------
Here is a minimal testcase that reproduces the unclear error message:
subroutine prirelval(nobs, dataset)
type ped_data
integer :: maxsiz
end type ped_data
integer, dimension(dataset%maxsiz) :: nobs
type (ped_data) :: dataset
end subroutine prirelval
$ gfortran z.f90
z.f90:6.28:
integer, dimension(dataset%maxsiz) :: nobs
1
Error: Expected another dimension in array declaration at (1)
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2007-05-22 18:01:33 |2007-11-20 18:03:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31560