Patch to constify tree_code_name
Jeffrey A Law
law@cygnus.com
Tue Aug 31 22:41:00 GMT 1999
In message < 199908131454.KAA25657@caip.rutgers.edu >you write:
> This patch constifies tree_code_name. There were some related
> cascading effects on various function decls in the toplevel dir and
> the language subdirs. Tested on Solaris 2 and Irix6.
>
> Okay to install?
>
> Thanks,
> --Kaveh
>
>
> 1999-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * tree.c (tree_code_name): Constify a char*.
>
> * tree.h (tree_code_name, decl_printable_name): Likewise.
>
> * function.h (struct function): Likewise.
>
> * toplev.c (decl_name, decl_printable_name): Likewise.
>
> * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
>
> * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
> (init_objc): Remove function pointer cast.
This is fine. [along with the collateral damage in the language subdirs. ]
Please install it. Thanks,
jeff
More information about the Gcc-patches
mailing list