]> gcc.gnu.org Git - gcc.git/commit
gfortran.h (gfc_expr.function.name): Make const.
authorRichard Henderson <rth@redhat.com>
Wed, 15 Dec 2004 03:56:06 +0000 (19:56 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 15 Dec 2004 03:56:06 +0000 (19:56 -0800)
commit6b25a558d71af78b9c2891a761b441c4a4088285
tree3fa977dffc10679dfaab85801d62c79a49b0338a
parent6bd26f0bee556c3951a99a7cd2ae76a413d5ce18
gfortran.h (gfc_expr.function.name): Make const.

        * 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.

From-SVN: r92176
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
This page took 0.052599 seconds and 5 git commands to generate.