summaryrefslogtreecommitdiff
path: root/gcc/hard-reg-set.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-01 01:47:41 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-01 01:47:41 +0000
commit08c762a3eb8079e45a0a05353bb0f26e3eaa1f65 (patch)
tree5e98ed41a5e8f7580f7b30c5c4492e13e2f39cb6 /gcc/hard-reg-set.h
parentf347b8dbd26406b498e2a1ef05a4bf66999302f8 (diff)
downloadgcc-08c762a3eb8079e45a0a05353bb0f26e3eaa1f65.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30303 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r--gcc/hard-reg-set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h
index 5064dbcc041..8d1ca75a0ac 100644
--- a/gcc/hard-reg-set.h
+++ b/gcc/hard-reg-set.h
@@ -467,4 +467,4 @@ extern int n_non_fixed_regs;
/* Vector indexed by hardware reg giving its name. */
-extern char *reg_names[FIRST_PSEUDO_REGISTER];
+extern const char *reg_names[FIRST_PSEUDO_REGISTER];