From dc5f17ecee8e383c7852a67d3759642053b0f00a Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 2 Jan 2003 02:19:59 +0000 Subject: [PATCH] * config/h8300/h8300.c (output_logical_op): Fix a warning. From-SVN: r60769 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) 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) {