* gfortran.h (gfc_expr.function.name): Make const.
commitc231e334dff662a02f18c1fc3443b9cf0b73d1b5
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Dec 2004 03:56:06 +0000 (15 03:56 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Dec 2004 03:56:06 +0000 (15 03:56 +0000)
tree3fa977dffc10679dfaab85801d62c79a49b0338a
parenta9dea2f02d39f73956ec168525770bc828bf299e
    * 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
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/iresolve.c
gcc/fortran/misc.c
gcc/fortran/module.c
gcc/fortran/resolve.c
gcc/fortran/trans-intrinsic.c