* gas/config/tc-arm.c (parse_neon_mov): Update which_operand
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Wed, 7 Dec 2011 16:44:55 +0000 (16:44 +0000)
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Wed, 7 Dec 2011 16:44:55 +0000 (16:44 +0000)
correctly.

gas/ChangeLog
gas/config/tc-arm.c

index cb38a196be59ed5becdc481718d1c251a2f67bf8..cc62920dbf303faf47f5728847fa1dd5348944d1 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-07  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * config/tc-arm.c (parse_neon_mov): Update which_operand
+       correctly.
+
 2011-12-05  Richard Earnshaw  <rearnsha@arm.com>
 
        * tc-arm.c (aeabi_set_public_attributes): Correctly set
index e5216893effd0559bc83daa0bbd97b0870e27555..52a90300cde99dabf3b49ffe7c87c70badf7de80 100644 (file)
@@ -5931,7 +5931,7 @@ parse_neon_mov (char **str, int *which_operand)
 
               inst.operands[i].reg = val;
               inst.operands[i].isreg = 1;
-              inst.operands[i++].present = 1;
+              inst.operands[i].present = 1;
             }
         }
       else if (parse_qfloat_immediate (&ptr, &inst.operands[i].imm) == SUCCESS)
@@ -6021,7 +6021,7 @@ parse_neon_mov (char **str, int *which_operand)
           inst.operands[i].isvec = 1;
           inst.operands[i].issingle = 1;
           inst.operands[i].vectype = optype;
-          inst.operands[i++].present = 1;
+          inst.operands[i].present = 1;
         }
     }
   else