My previous patch introduced the use of a C99 feature. C99 standard is
not required for gas, so this feature should be removed.
Committed as obvious.
gas/ChangeLog:
2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
* config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
loop initial declaration.
+2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
+
+ * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
+ loop initial declaration.
+
2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
* config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
vcx_handle_register_arguments (unsigned num_registers,
enum vcx_reg_type reg_type)
{
- unsigned R;
+ unsigned R, i;
unsigned reg_mult = vcx_handle_shape (reg_type);
- for (unsigned i = 0; i < num_registers; i++)
+ for (i = 0; i < num_registers; i++)
{
R = inst.operands[i+1].reg;
vcx_ensure_register_in_range (R, reg_type);