diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ce97bebf55..26a3372b678 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-01-01 Kazu Hirata + + * config/h8300/h8300.c (output_logical_op): Fix a warning. + 2003-01-01 Neil Booth * config/darwin-protos.h, config/c4x/c4x-protos.h, diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 0e1545e4a65..4313143215b 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -2203,8 +2203,7 @@ output_logical_op (mode, operands) && code == AND && (det & 0xffff0000) == 0xff000000) { - sprintf (insn_buf, "extu.w\t%%e0", opname); - output_asm_insn (insn_buf, operands); + output_asm_insn ("extu.w\t%e0", operands); } else if (TARGET_H8300H || TARGET_H8300S) {