aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/c4x/c4x.c4
-rw-r--r--gcc/config/c4x/c4x.h4
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index da73161..28a5ebb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index 58c214a..7712695 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -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. */
diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h
index 7bc69ee..46e2d05 100644
--- a/gcc/config/c4x/c4x.h
+++ b/gcc/config/c4x/c4x.h
@@ -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(); \