re PR fortran/13201 (PARAMETER variables of nonconstant shape are accepted)
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Fri, 9 Jul 2004 21:20:50 +0000 (23:20 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Fri, 9 Jul 2004 21:20:50 +0000 (23:20 +0200)
commit4077d207437b94a2d07d76c93b6583d5920bf7a8
treed3352c7a5ccff7412b5e6acf7f1978a0e40eb5b6
parent1f33f6b4c779919d3dd77be7001747a621de0e6a
re PR fortran/13201 (PARAMETER variables of nonconstant shape are accepted)

PR fortran/13201
* resolve.c (resolve_symbol): Verify that the shape of a
parameter array is not only explicit, but also constant.
* array.c (gfc_is_compile_time_shape): New function.
* gfortran.h (gfc_is_compile_time_shape): Add prototype.

From-SVN: r84400
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/gfortran.h
gcc/fortran/resolve.c