diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-08-20 22:32:54 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-08-20 22:32:54 +0000 |
commit | 5f06c983f3b137a2fe493e80087f2bb72b34d715 (patch) | |
tree | 010843ea91dff778c8ce14704a4f98a412d570ca /gcc/rtl.c | |
parent | 22e9174f5416123df52503b2dc2248de0f4ca27e (diff) | |
download | gcc-5f06c983f3b137a2fe493e80087f2bb72b34d715.zip gcc-5f06c983f3b137a2fe493e80087f2bb72b34d715.tar.gz gcc-5f06c983f3b137a2fe493e80087f2bb72b34d715.tar.bz2 |
rtl.c (rtx_name): Constify a char*.
* rtl.c (rtx_name): Constify a char*.
* rtl.h (rtx_name, fix_sched_param): Likewise.
* gmicro/gmicro.c (rtx_name): Remove redundant declaration.
(mypr): Use accessor macro, not `rtx_name'.
* genemit.c (print_code): Constify a char*.
* genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
* genpeep.c (print_code): Constify a char*.
* genrecog.c (print_code): Likewise.
* graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
end_bb): Add static prototype.
(draw_edge): Constify a char*.
(end_bb): Remove unused parameter.
* haifa-sched.c (fix_sched_param, safe_concat, print_exp
print_block_visualization): Constify a char*.
From-SVN: r28782
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ int rtx_length[NUM_RTX_CODE + 1]; #define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) NAME , -char *rtx_name[] = { +const char * const rtx_name[] = { #include "rtl.def" /* rtl expressions are documented here */ }; |