diff options
author | tobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-31 14:06:48 +0000 |
---|---|---|
committer | tobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-31 14:06:48 +0000 |
commit | 9ad094051bb168e78ce1948c4a816d52c34180d0 (patch) | |
tree | 03f0761ea8c07c55c2cd86b5b996c3027f155857 /gcc/fortran/trans-const.c | |
parent | 4de2453b7937223b636307c3a521e782b5ec0839 (diff) | |
download | gcc-9ad094051bb168e78ce1948c4a816d52c34180d0.tar.gz |
fortran/
* trans-decl.c, trans-expr.c, trans-io.c, trans-types.c: Replace
all occurences of 'gfc_strlen_type_node' by
'gfc_charlen_type_node'.
* trans-types.h: Same. Also update comment accordingly.
libgfortran/
* libgfortran.h: Replace 'gfc_strlen_type' by
'gfc_charlen_type'. Update comment accordingly.
* intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86828 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/trans-const.c')
-rw-r--r-- | gcc/fortran/trans-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-const.c b/gcc/fortran/trans-const.c index 10f701aeb6f..670e2f5df9c 100644 --- a/gcc/fortran/trans-const.c +++ b/gcc/fortran/trans-const.c @@ -85,7 +85,7 @@ gfc_build_string_const (int length, const char *s) len = build_int_cst (NULL_TREE, length); TREE_TYPE (str) = build_array_type (gfc_character1_type_node, - build_range_type (gfc_strlen_type_node, + build_range_type (gfc_charlen_type_node, integer_one_node, len)); return str; } |