------- Comment #1 from burnus at gcc dot gnu dot org 2007-04-13 11:05 -------
Could you post a complete example? I have problems to create one with
type (ped_data) :: dataset
integer, dimension(dataset%maxsiz) :: nobs
as parameter is not allowed in a type specification and using a simple
type ped_data
integer :: maxsiz = 5
end type ped_data
does also not work:
integer, dimension(dataset%maxsiz) :: nobs
1
Error: Variable 'dataset' cannot appear in the expression at (1)
or in words of NAG f95:
DATASET is not permitted in a specification expression
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31560