From 1b11b49fe420e2d2699f1763ab51aa7a9f26d63a Mon Sep 17 00:00:00 2001 From: Matthew Gretton-Dann Date: Wed, 7 Dec 2011 16:44:55 +0000 Subject: [PATCH] * gas/config/tc-arm.c (parse_neon_mov): Update which_operand correctly. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index cb38a196be..cc62920dbf 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2011-11-07 Matthew Gretton-Dann + + * config/tc-arm.c (parse_neon_mov): Update which_operand + correctly. + 2011-12-05 Richard Earnshaw * tc-arm.c (aeabi_set_public_attributes): Correctly set diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index e5216893ef..52a90300cd 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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 -- 2.34.1