c4x.h (c4x_rpts_cycles_string, [...]): Constify char *.

* config/c4x/c4x.h (c4x_rpts_cycles_string,
	c4x_cpu_version_string): Constify char *.
	* config/c4x/c4x.c (c4x_rpts_cycles_string,
	c4x_cpu_version_string): Likewise.

From-SVN: r29357
This commit is contained in:
Michael Hayes 1999-09-12 10:24:02 +00:00 committed by Michael Hayes
parent 63fcb74e85
commit ddf16f1841
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (c4x_rpts_cycles_string,
c4x_cpu_version_string): Constify char *.
* config/c4x/c4x.c (c4x_rpts_cycles_string,
c4x_cpu_version_string): Likewise.
Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
* tree.c (save_tree_status): Revert 10 Sep change.

View File

@ -135,9 +135,9 @@ enum machine_mode c4x_caller_save_map[FIRST_PSEUDO_REGISTER] =
struct rtx_def *c4x_compare_op0 = NULL_RTX;
struct rtx_def *c4x_compare_op1 = NULL_RTX;
char *c4x_rpts_cycles_string;
const char *c4x_rpts_cycles_string;
int c4x_rpts_cycles = 0; /* Max. cycles for RPTS. */
char *c4x_cpu_version_string;
const char *c4x_cpu_version_string;
int c4x_cpu_version = 40; /* CPU version C30/31/32/40/44. */
/* Pragma definitions. */

View File

@ -302,7 +302,7 @@ extern int target_flags;
extern char *m88k_short_data;
#define TARGET_OPTIONS { { "short-data-", &m88k_short_data } } */
extern char *c4x_rpts_cycles_string, *c4x_cpu_version_string;
extern const char *c4x_rpts_cycles_string, *c4x_cpu_version_string;
#define TARGET_OPTIONS \
{ {"rpts=", &c4x_rpts_cycles_string, \
@ -2554,7 +2554,7 @@ do { fprintf (asm_out_file, "\t.sdef\t"); \
#define DBR_OUTPUT_SEQEND(FILE) \
if (final_sequence != NULL_RTX) \
{ \
int count;
int count; \
int laj = GET_CODE (XVECEXP (final_sequence, 0, 0)) == CALL_INSN; \
\
count = dbr_sequence_length(); \