summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/hard-reg-set.h2
-rw-r--r--gcc/print-rtl.c2
-rw-r--r--gcc/regclass.c2
-rw-r--r--gcc/regs.h2
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,5 +1,12 @@
2000-05-27 Richard Henderson <rth@cygnus.com>
+ * 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 <rth@cygnus.com>
+
* config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
2000-05-27 Richard Henderson <rth@cygnus.com>
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
OpenPOWER on IntegriCloud