[PATCH] fortran/67802 -- Numeric constant character length must ...

FX fxcoudert@gmail.com
Thu Oct 1 19:19:00 GMT 2015


> 2015-10-01  Steven G. Kargl  <kargl@gcc.gnu.org>
> 
> 	PR fortran/67802
> 	* decl.c (add_init_expr_to_sym): Numeric constant for character
> 	length must be an INTEGER.
> 
> 2015-10-01  Steven G. Kargl  <kargl@gcc.gnu.org>
> 
> 	PR fortran/67802
> 	* gfortran.dg/pr67802.f90: New test.

OK, but not with that error message. We currently don’t use the “shorthand” standard notation (like "scalar-int-expr”) in our error messages, and we should keep that consistent. So I would go with “character length should be of integer type” or something like that.

FX


More information about the Fortran mailing list