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
This commit is contained in:
Richard Henderson 2000-05-27 20:24:57 -07:00 committed by Richard Henderson
parent 7d70b8b2f7
commit e087aeb2b9
5 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
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.

View File

@ -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];

View File

@ -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;

View File

@ -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.

View File

@ -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