From e087aeb2b9641000a819a86ef856f7c152f959f8 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 27 May 2000 20:24:57 -0700 Subject: [PATCH] print-rtl.c (reg_names): Remove const. * print-rtl.c (reg_names): Remove const. * regclass.c (reg_names): Likewise. * regs.h (reg_names): Likewise. * hard-reg-set.h (reg_names): Likewise. From-SVN: r34225 --- gcc/ChangeLog | 7 +++++++ gcc/hard-reg-set.h | 2 +- gcc/print-rtl.c | 2 +- gcc/regclass.c | 2 +- gcc/regs.h | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f3e6ed70620..6108adbb201 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2000-05-27 Richard Henderson + + * print-rtl.c (reg_names): Remove const. + * regclass.c (reg_names): Likewise. + * regs.h (reg_names): Likewise. + * hard-reg-set.h (reg_names): Likewise. + 2000-05-27 Richard Henderson * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL. diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index 6f1972f5620..4a305efe350 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -471,4 +471,4 @@ extern int n_non_fixed_regs; /* Vector indexed by hardware reg giving its name. */ -extern const char * const reg_names[FIRST_PSEUDO_REGISTER]; +extern const char * reg_names[FIRST_PSEUDO_REGISTER]; diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index e52a41065bb..ab19a16343c 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */ static const char * const debug_reg_names[] = DEBUG_REGISTER_NAMES; #define reg_names debug_reg_names #else -const char * const reg_names[] = REGISTER_NAMES; +const char * reg_names[] = REGISTER_NAMES; #endif static FILE *outfile; diff --git a/gcc/regclass.c b/gcc/regclass.c index 1ffbb3318ff..f3fdf4c4d9a 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -164,7 +164,7 @@ enum reg_class reg_class_superunion[N_REG_CLASSES][N_REG_CLASSES]; DEBUG_REGISTER_NAMES is defined, use the copy in print-rtl.c. */ #ifdef DEBUG_REGISTER_NAMES -const char * const reg_names[] = REGISTER_NAMES; +const char * reg_names[] = REGISTER_NAMES; #endif /* For each hard register, the widest mode object that it can contain. diff --git a/gcc/regs.h b/gcc/regs.h index 0f35ae66c8b..9c1b886d864 100644 --- a/gcc/regs.h +++ b/gcc/regs.h @@ -137,7 +137,7 @@ extern char regs_ever_live[FIRST_PSEUDO_REGISTER]; /* Vector indexed by hardware reg giving its name. */ -extern const char * const 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