summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-const.h
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-04 20:55:49 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-04 20:55:49 +0000
commit4f576d6aec1601fa7e95107ec2dfc30cd4eb30e3 (patch)
tree3bc67b7ed0b9882c2945e7136e69be9b705e553d /gcc/fortran/trans-const.h
parentca5301bf5dd9d70218cff006bf36161b3bbf57c0 (diff)
downloadgcc-4f576d6aec1601fa7e95107ec2dfc30cd4eb30e3.tar.gz
* trans-const.c (gfc_build_cstring_const): New function.
(gfc_init_cst): Use new function. * trans-const.h (gfc_build_cstring_const): Add prototype. * trans-io.c (set_string, set_error_locus): Use new function. * trans-stmt.c (gfc_trans_goto): Use new function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/trans-const.h')
-rw-r--r--gcc/fortran/trans-const.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/trans-const.h b/gcc/fortran/trans-const.h
index 0fe2d3ac2fd..d38a90fe740 100644
--- a/gcc/fortran/trans-const.h
+++ b/gcc/fortran/trans-const.h
@@ -35,6 +35,7 @@ tree gfc_conv_constant_to_tree (gfc_expr *);
void gfc_conv_constant (gfc_se *, gfc_expr *);
tree gfc_build_string_const (int, const char *);
+tree gfc_build_cstring_const (const char *);
/* Translate a string constant for a static initializer. */
tree gfc_conv_string_init (tree, gfc_expr *);