[patch] avr: Fix typos.
Kazu Hirata
kazu@cs.umass.edu
Sat Jun 28 20:11:00 GMT 2003
Hi,
Attached is a patch to fix typos. Committed as obvious.
Kazu Hirata
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.
Index: avr-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/avr/avr-protos.h,v
retrieving revision 1.28
diff -u -r1.28 avr-protos.h
--- avr-protos.h 19 Jun 2003 21:47:06 -0000 1.28
+++ avr-protos.h 28 Jun 2003 19:47:22 -0000
@@ -129,7 +129,7 @@
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));
Index: avr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/avr/avr.c,v
retrieving revision 1.96
diff -u -r1.96 avr.c
--- avr.c 26 Jun 2003 13:11:09 -0000 1.96
+++ avr.c 28 Jun 2003 19:47:23 -0000
@@ -1458,7 +1458,7 @@
/* 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 @@
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)));
More information about the Gcc-patches
mailing list