diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-01-23 19:45:50 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-01-23 19:45:50 +0000 |
commit | 9b3142b340baab707d4e4c45f70fb566f15019de (patch) | |
tree | 55c79465cdc5b1c6462772036b913316f9fc2f6f /gcc/reload1.c | |
parent | 5949a9fc20d8cfeff1a4174cd6c433a5bd753ae6 (diff) | |
download | gcc-9b3142b340baab707d4e4c45f70fb566f15019de.zip gcc-9b3142b340baab707d4e4c45f70fb566f15019de.tar.gz gcc-9b3142b340baab707d4e4c45f70fb566f15019de.tar.bz2 |
final.c (bb_str): Qualify a char* with the keyword `const'.
* final.c (bb_str): Qualify a char* with the keyword `const'.
(add_bb_string, final_scan_insn, output_asm_insn): Likewise.
* fix-header.c (read_scan_file): Likewise.
* genoutput.c (output_epilogue, process_template): Likewise.
* local-alloc.c (requires_inout, block_alloc): Likewise.
* output.h (output_asm_insn, assemble_string): Likewise.
* recog.c (recog_constraints, check_asm_operands,
decode_asm_operands, extract_insn, preprocess_constraints,
constrain_operands): Likewise.
* recog.h (operand_alternative, recog_constraints, insn_template,
insn_outfun, insn_operand_constraint, insn_name): Likewise.
* regclass.c (record_reg_classes, scan_one_insn): Likewise.
* regmove.c (find_matches): Likewise.
* reload.c (alternative_allows_memconst): Likewise.
* reload1.c (constraint_accepts_reg_p,
reload_cse_simplify_operands): Likewise.
* rtl.h (decode_asm_operands): Likewise.
* scan.h (fn_decl): Likewise.
* varasm.c (assemble_string): Likewise.
From-SVN: r24834
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index d68fc8a..d86c406 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -426,7 +426,7 @@ static void delete_output_reload PROTO((rtx, int, int)); static void delete_address_reloads PROTO((rtx, rtx)); static void delete_address_reloads_1 PROTO((rtx, rtx, rtx)); static rtx inc_for_reload PROTO((rtx, rtx, rtx, int)); -static int constraint_accepts_reg_p PROTO((char *, rtx)); +static int constraint_accepts_reg_p PROTO((const char *, rtx)); static void reload_cse_regs_1 PROTO((rtx)); static void reload_cse_invalidate_regno PROTO((int, enum machine_mode, int)); static int reload_cse_mem_conflict_p PROTO((rtx, rtx)); @@ -8238,7 +8238,7 @@ inc_for_reload (reloadreg, in, value, inc_amount) static int constraint_accepts_reg_p (string, reg) - char *string; + const char *string; rtx reg; { int value = 0; @@ -9012,7 +9012,7 @@ reload_cse_simplify_operands (insn) #ifdef REGISTER_CONSTRAINTS int i,j; - char *constraints[MAX_RECOG_OPERANDS]; + const char *constraints[MAX_RECOG_OPERANDS]; /* Vector recording how bad an alternative is. */ int *alternative_reject; @@ -9046,7 +9046,7 @@ reload_cse_simplify_operands (insn) { enum machine_mode mode; int regno; - char *p; + const char *p; op_alt_regno[i] = (int *) alloca (recog_n_alternatives * sizeof (int)); for (j = 0; j < recog_n_alternatives; j++) |