This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31560] Array size declaration depended on order of declaration of variable containing size



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]