summaryrefslogtreecommitdiff
path: root/gcc/recog.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-21 17:23:10 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-21 17:23:10 +0000
commit9fdbc4322d88eeb2398a87ef7adf94bf05111861 (patch)
tree48205e4dfefd1ab26f456d3fbd7f172bbab3cf5b /gcc/recog.h
parent8308815586fbc62e680e34d1fa32e2687db88c07 (diff)
downloadgcc-9fdbc4322d88eeb2398a87ef7adf94bf05111861.tar.gz
gcc/
* gencodes.c (gencodes): Print the comma for the preceding enum value rather than the current one. Use aliased enum values rather than #defines for compiled-out patterns. (main): Update accordingly. Replace LAST_INSN_CODE with NUM_INSN_CODES. * lra.c (insn_code_data): Update accordingly. (finish_insn_code_data_once, get_static_insn_data): Likewise. * recog.h (target_recog): Likewise. (preprocess_insn_constraints): Change parameter to unsigned int. * recog.c (preprocess_insn_constraints): Likewise. (recog_init): Replace LAST_INSN_CODE with NUM_INSN_CODES. * tree-vect-stmts.c (vectorizable_operation): Simplify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.h')
-rw-r--r--gcc/recog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/recog.h b/gcc/recog.h
index ce931ebdf5a..327d6c07494 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -137,7 +137,7 @@ extern void extract_constrain_insn_cached (rtx_insn *);
extern void extract_insn_cached (rtx_insn *);
extern void preprocess_constraints (int, int, const char **,
operand_alternative *);
-extern const operand_alternative *preprocess_insn_constraints (int);
+extern const operand_alternative *preprocess_insn_constraints (unsigned int);
extern void preprocess_constraints (rtx_insn *);
extern rtx_insn *peep2_next_insn (int);
extern int peep2_regno_dead_p (int, int);
@@ -393,8 +393,8 @@ enum bool_attr {
/* Target-dependent globals. */
struct target_recog {
bool x_initialized;
- alternative_mask x_bool_attr_masks[LAST_INSN_CODE][BA_LAST + 1];
- operand_alternative *x_op_alt[LAST_INSN_CODE];
+ alternative_mask x_bool_attr_masks[NUM_INSN_CODES][BA_LAST + 1];
+ operand_alternative *x_op_alt[NUM_INSN_CODES];
};
extern struct target_recog default_target_recog;