summaryrefslogtreecommitdiff
path: root/gcc/fortran/misc.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-15 03:56:06 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-15 03:56:06 +0000
commitc231e334dff662a02f18c1fc3443b9cf0b73d1b5 (patch)
tree3fa977dffc10679dfaab85801d62c79a49b0338a /gcc/fortran/misc.c
parenta9dea2f02d39f73956ec168525770bc828bf299e (diff)
downloadgcc-c231e334dff662a02f18c1fc3443b9cf0b73d1b5.tar.gz
* gfortran.h (gfc_expr.function.name): Make const.
(gfc_iresolve_init_1, gfc_iresolve_done_1): Remove. (gfc_get_string): Update prototype. * iresolve.c: Include tree.h. (string_node, HASH_SIZE, string_head, hash): Remove. (gfc_get_string): Use vsnprintf, get_identifier. (free_strings, gfc_iresolve_init_1, gfc_iresolve_done_1): Remove. * misc.c (gfc_init_1): Don't call gfc_iresolve_init_1. (gfc_done_1): Don't call gfc_iresolve_done_1. * module.c (mio_allocated_string): Take and return const char *, instead of modifying char**. (mio_expr): Update to match. * resolve.c (pure_function): Constify name argument. (resolve_function): Constify name. * trans-intrinsic.c (gfc_conv_intrinsic_function): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92176 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/misc.c')
-rw-r--r--gcc/fortran/misc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/fortran/misc.c b/gcc/fortran/misc.c
index 431284ca7d4..3f7058391eb 100644
--- a/gcc/fortran/misc.c
+++ b/gcc/fortran/misc.c
@@ -278,12 +278,10 @@ gfc_intent_string (sym_intent i)
void
gfc_init_1 (void)
{
-
gfc_error_init_1 ();
gfc_scanner_init_1 ();
gfc_arith_init_1 ();
gfc_intrinsic_init_1 ();
- gfc_iresolve_init_1 ();
gfc_simplify_init_1 ();
}
@@ -306,10 +304,8 @@ gfc_init_2 (void)
void
gfc_done_1 (void)
{
-
gfc_scanner_done_1 ();
gfc_intrinsic_done_1 ();
- gfc_iresolve_done_1 ();
gfc_arith_done_1 ();
}