diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 73098598de1b35191beff12ecd436a004359ce0f..e427f0f75b91966058f145e306255bed640c6615 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+	* config/h8300/h8300.md (two peepholes): Use match_dup instead
+	of match_operand in the new patterns.
+
 2002-12-24  Joseph S. Myers  <jsm@polyomino.org.uk>
 
 	* doc/include/texinfo.tex: Update to version 2002-11-25.11.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 9752f0f82a7557530b23764233975d94864c91c6..39805fb395c9dfd26b6533f1bfa49f98b376aa44 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -2928,7 +2928,7 @@
 	(match_dup 0))
    (set (pc)
 	(if_then_else (match_op_dup 3 [(cc0) (const_int 0)])
-		      (label_ref (match_operand 2 "" ""))
+		      (label_ref (match_dup 2))
 		      (pc)))]
   "operands[1] = GEN_INT (- INTVAL (operands[1]));
    split_adds_subs (HImode, operands, 1);")
@@ -2950,7 +2950,7 @@
 	(match_dup 0))
    (set (pc)
 	(if_then_else (match_op_dup 3 [(cc0) (const_int 0)])
-		      (label_ref (match_operand 2 "" ""))
+		      (label_ref (match_dup 2))
 		      (pc)))]
   "operands[1] = GEN_INT (- INTVAL (operands[1]));
    split_adds_subs (SImode, operands, 1);")