aboutsummaryrefslogtreecommitdiff
path: root/gcc/regs.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-11-01 01:47:41 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-11-01 01:47:41 +0000
commit99f44eba5f589e1630ba622a706800417d3d4269 (patch)
tree5e98ed41a5e8f7580f7b30c5c4492e13e2f39cb6 /gcc/regs.h
parentf7faca78d60cf96984a5d35eea6bd70a7a81092d (diff)
downloadgcc-99f44eba5f589e1630ba622a706800417d3d4269.zip
gcc-99f44eba5f589e1630ba622a706800417d3d4269.tar.gz
gcc-99f44eba5f589e1630ba622a706800417d3d4269.tar.bz2
hard-reg-set.h (reg_names): Constify a char*.
* hard-reg-set.h (reg_names): Constify a char*. * regclass.c (reg_names): Likewise. * regs.h (reg_names): Likewise * a29k/a29k.c (reg_names): Delete declaration. * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*. * arc/arc.c (arc_save_restore, arc_output_function_prologue, arc_output_function_epilogue): Likewise. * elxsi/elxsi.c (reg_names): Likewise. * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise. * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move): Likewise. * m88k/m88k.c (output_function_profiler): Likewise. * sparc/sparc.c (sparc_flat_output_function_prologue, sparc_flat_output_function_epilogue): Likewise. From-SVN: r30303
Diffstat (limited to 'gcc/regs.h')
-rw-r--r--gcc/regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/regs.h b/gcc/regs.h
index e551dae..d0f7446 100644
--- a/gcc/regs.h
+++ b/gcc/regs.h
@@ -138,7 +138,7 @@ extern char regs_ever_live[FIRST_PSEUDO_REGISTER];
/* Vector indexed by hardware reg giving its name. */
-extern char *reg_names[FIRST_PSEUDO_REGISTER];
+extern const char *reg_names[FIRST_PSEUDO_REGISTER];
/* For each hard register, the widest mode object that it can contain.
This will be a MODE_INT mode if the register can hold integers. Otherwise