aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-const.c
diff options
context:
space:
mode:
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>2004-08-31 16:06:48 +0200
committerTobias Schlüter <tobi@gcc.gnu.org>2004-08-31 16:06:48 +0200
commitd7177ab25e9cfef12aa2b0e2a2f68d7f3c81735a (patch)
tree03f0761ea8c07c55c2cd86b5b996c3027f155857 /gcc/fortran/trans-const.c
parentf36327db85b62d102049ee46db8ee4d39df045e2 (diff)
downloadgcc-d7177ab25e9cfef12aa2b0e2a2f68d7f3c81735a.zip
gcc-d7177ab25e9cfef12aa2b0e2a2f68d7f3c81735a.tar.gz
gcc-d7177ab25e9cfef12aa2b0e2a2f68d7f3c81735a.tar.bz2
trans-decl.c, [...]: Replace all occurences of 'gfc_strlen_type_node' by 'gfc_charlen_type_node'.
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'. From-SVN: r86828
Diffstat (limited to 'gcc/fortran/trans-const.c')
-rw-r--r--gcc/fortran/trans-const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-const.c b/gcc/fortran/trans-const.c
index 10f701a..670e2f5 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;
}