------- Comment #7 from bdtaylo1 at uiuc dot edu 2007-01-02 21:47 ------- (In reply to comment #6) > (The _i_initialized variable is not needed in a main program, but it is in a > procedure.) This far it isn't a huge problem, but when 'i' is a PARAMETER it > gets more complicated. PARAMETERs are meant to be compile time constants. > Let's > say we have e.g. > > subroutine stuff > integer :: i_do > integer, parameter :: i(100001) = <whatever> > real(kind=i(1975)) :: a > > ... > > end subroutine stuff
> This code is illegal - the kind specifier of a variable must be a scalar integer value. That should eliminate at least this need for compile-time evaluation of parameter arrays. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19925