* config/tc-sh.c (assemble_ppi): Initialize reg_n.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Mon, 17 Jun 2002 15:32:25 +0000 (15:32 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Mon, 17 Jun 2002 15:32:25 +0000 (15:32 +0000)
gas/ChangeLog
gas/config/tc-sh.c

index 2998f95ecd52add9be36b43adf50f2f4faa9cd75..9a87148b2add662360bd0c1d348aaa4ba6bb077e 100644 (file)
@@ -1,3 +1,7 @@
+Mon Jun 17 16:29:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * config/tc-sh.c (assemble_ppi): Initialize reg_n.
+
 2002-06-17  Tom Rix <trix@redhat.com>
 
        * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
index 634b9b8b1fb75bb66c5a6225ca3584ccc608e9f1..e62a6f95bd0c9b92c1f83e984161582afc14ed42 100644 (file)
@@ -2147,6 +2147,7 @@ assemble_ppi (op_end, opcode)
      Make sure we encode a defined insn pattern.  */
   reg_x = 0;
   reg_y = 0;
+  reg_n = 0;
 
   for (;;)
     {