diff options
author | Richard Henderson <rth@cygnus.com> | 2000-05-27 20:24:57 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-05-27 20:24:57 -0700 |
commit | e087aeb2b9641000a819a86ef856f7c152f959f8 (patch) | |
tree | 549befca836ef89bd417e0e4640d00e98181120c /gcc | |
parent | 7d70b8b2f7cbf969c1096ce9df6c7289aebf5d1a (diff) | |
download | gcc-e087aeb2b9641000a819a86ef856f7c152f959f8.zip gcc-e087aeb2b9641000a819a86ef856f7c152f959f8.tar.gz gcc-e087aeb2b9641000a819a86ef856f7c152f959f8.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/hard-reg-set.h | 2 | ||||
-rw-r--r-- | gcc/print-rtl.c | 2 | ||||
-rw-r--r-- | gcc/regclass.c | 2 | ||||
-rw-r--r-- | gcc/regs.h | 2 |
5 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f3e6ed7..6108adb 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 6f1972f..4a305ef 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 e52a410..ab19a16 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 1ffbb33..f3fdf4c 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. @@ -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 |