diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-23 19:45:50 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-23 19:45:50 +0000 |
commit | a8482e91d66166ec082f4240b4192dbc3f294982 (patch) | |
tree | 55c79465cdc5b1c6462772036b913316f9fc2f6f /gcc/recog.h | |
parent | 7df8690a400db113b722052c4dd8f374ba20d45c (diff) | |
download | gcc-a8482e91d66166ec082f4240b4192dbc3f294982.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.h')
-rw-r--r-- | gcc/recog.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/recog.h b/gcc/recog.h index fc4719b4e65..79f22f9135a 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -32,7 +32,7 @@ struct operand_alternative { /* Pointer to the beginning of the constraint string for this alternative, for easier access by alternative number. */ - char *constraint; + const char *constraint; /* The register class valid for this alternative (possibly NO_REGS). */ enum reg_class class; @@ -153,7 +153,7 @@ extern int recog_n_alternatives; extern enum machine_mode recog_operand_mode[]; /* Indexed by N, gives the constraint string for operand N. */ -extern char *recog_constraints[]; +extern const char *recog_constraints[]; /* Indexed by N, gives the type (in, out, inout) for operand N. */ extern enum op_type recog_op_type[]; @@ -176,9 +176,9 @@ extern struct operand_alternative recog_op_alt[MAX_RECOG_OPERANDS][MAX_RECOG_ALT /* These are vectors indexed by insn-code. Details in genoutput.c. */ -extern char *const insn_template[]; +extern const char *const insn_template[]; -extern char *(*const insn_outfun[]) (); +extern const char *(*const insn_outfun[]) (); extern const int insn_n_operands[]; @@ -192,7 +192,7 @@ extern const int insn_n_alternatives[]; and second by the operand number. Details in genoutput.c. */ #ifdef REGISTER_CONSTRAINTS /* Avoid undef sym in certain broken linkers. */ -extern char *const insn_operand_constraint[][MAX_RECOG_OPERANDS]; +extern const char *const insn_operand_constraint[][MAX_RECOG_OPERANDS]; #endif #ifndef REGISTER_CONSTRAINTS /* Avoid undef sym in certain broken linkers. */ @@ -205,4 +205,4 @@ extern const char insn_operand_strict_low[][MAX_RECOG_OPERANDS]; extern int (*const insn_operand_predicate[][MAX_RECOG_OPERANDS]) (); -extern char * insn_name[]; +extern const char * insn_name[]; |