diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/avr/avr-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/avr/avr.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b8d156..811d207 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2003-06-28 Kazu Hirata <kazu@cs.umass.edu> + * config/avr/avr-protos.h: Replace avr_simplify_comparision_p + with avr_simplify_comparison_p. + * config/avr/avr.c: Likewise. + +2003-06-28 Kazu Hirata <kazu@cs.umass.edu> + * builtins.c: Follow spelling conventions. * cgraph.c: Likewise. * cpplex.c: Likewise. diff --git a/gcc/config/avr/avr-protos.h b/gcc/config/avr/avr-protos.h index fafd36c..04d1c06 100644 --- a/gcc/config/avr/avr-protos.h +++ b/gcc/config/avr/avr-protos.h @@ -129,7 +129,7 @@ extern int avr_hard_regno_mode_ok PARAMS ((int regno, extern int call_insn_operand PARAMS ((rtx op, enum machine_mode mode)); extern void final_prescan_insn PARAMS ((rtx insn, rtx *operand, int num_operands)); -extern int avr_simplify_comparision_p PARAMS ((enum machine_mode mode, +extern int avr_simplify_comparison_p PARAMS ((enum machine_mode mode, RTX_CODE operator, rtx x)); extern RTX_CODE avr_normalize_condition PARAMS ((RTX_CODE condition)); extern int compare_eq_p PARAMS ((rtx insn)); diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index c8dba17..10d779f 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -1458,7 +1458,7 @@ final_prescan_insn (insn, operand, num_operands) /* Return 0 if undefined, 1 if always true or always false. */ int -avr_simplify_comparision_p (mode, operator, x) +avr_simplify_comparison_p (mode, operator, x) enum machine_mode mode; RTX_CODE operator; rtx x; @@ -5240,7 +5240,7 @@ avr_reorg () rtx t = XEXP (src,0); enum machine_mode mode = GET_MODE (XEXP (pattern, 0)); - if (avr_simplify_comparision_p (mode, GET_CODE (t), x)) + if (avr_simplify_comparison_p (mode, GET_CODE (t), x)) { XEXP (pattern, 1) = gen_int_mode (INTVAL (x) + 1, mode); PUT_CODE (t, avr_normalize_condition (GET_CODE (t))); |