[gfortran] Minor fix to trans-types.c

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Sun Jan 16 15:35:00 GMT 2005


Paul Brook wrote:
>>-  bounds = build_range_type (gfc_array_index_type, gfc_index_one_node,
>>len);
>>+  bounds = build_range_type (gfc_charlen_type_node, 
>>gfc_index_one_node, len);
> 
> 
> The bounds should probably also be of type gfc_charlen_type_node.

You mean on that same line?  I verified that build_range_type (type, a, b)
does the right thing, i.e. convert a and b to type, so this isn't necessary.

- Tobi



More information about the Fortran mailing list