[Bug fortran/51808] Improve handling of ISO_C_BINDING binding names
jb at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 29 20:52:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51808
--- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> 2012-01-29 19:01:14 UTC ---
Author: jb
Date: Sun Jan 29 19:01:09 2012
New Revision: 183679
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183679
Log:
PR 51808 Constify binding_label.
2012-01-29 Janne Blomqvist <jb@gcc.gnu.org>
PR fortran/51808
* decl.c (set_binding_label): Make binding_label argument const.
(curr_binding_label): Constify.
* gfortran.h (gfc_symbol): Constify binding_label.
(gfc_common_head): Likewise.
(get_iso_c_sym): Likewise.
* match.c (gfc_match_name_C): Constify buffer argument.
* match.h (gfc_match_name_C): Likewise.
* resolve.c (set_name_and_label): Constify binding_label argument.
(gfc_iso_c_sub_interface): Constify binding_label variable.
* symbol.c (get_iso_c_sym): Constify binding_label argument.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/match.c
trunk/gcc/fortran/match.h
trunk/gcc/fortran/resolve.c
trunk/gcc/fortran/symbol.c
More information about the Gcc-bugs
mailing list