aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-01-02 02:19:59 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-01-02 02:19:59 +0000
commitdc5f17ecee8e383c7852a67d3759642053b0f00a (patch)
tree7c588af25a556c6412056612057bfe2803e1e816
parent62d2eed656d2b664b21f128afbdc27720fb3939f (diff)
downloadgcc-dc5f17ecee8e383c7852a67d3759642053b0f00a.zip
gcc-dc5f17ecee8e383c7852a67d3759642053b0f00a.tar.gz
gcc-dc5f17ecee8e383c7852a67d3759642053b0f00a.tar.bz2
* config/h8300/h8300.c (output_logical_op): Fix a warning.
From-SVN: r60769
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6ce97be..26a3372 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.c (output_logical_op): Fix a warning.
+
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* config/darwin-protos.h, config/c4x/c4x-protos.h,
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 0e1545e..4313143 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)
{