* config/h8300/h8300.c (output_logical_op): Fix a warning.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 2 Jan 2003 02:19:59 +0000 (02:19 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 2 Jan 2003 02:19:59 +0000 (02:19 +0000)
From-SVN: r60769

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 6ce97bebf555952fd4c1354b376353b1b804f817..26a3372b678c4cabc81adc675ef5bbccad7125e6 100644 (file)
@@ -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,
index 0e1545e4a65b3249f4f42fec9e8aaec5248b8080..4313143215bcf0ace5e11acf49e0147bd21fdad2 100644 (file)
@@ -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)
            {