[ARM][gas] fix build breakage with gcc-10 by using correct enum type
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 21 Oct 2019 15:59:11 +0000 (16:59 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 2 Jan 2020 13:07:37 +0000 (13:07 +0000)
commita65b5de624a20f37f0fed484d6208d014f10a6f8
tree60288df99df08395f8b0f18030e7d24e2e094bc6
parentd73b58f4b1f193d2e58c0a1774e01561b16866b9
[ARM][gas] fix build breakage with gcc-10 by using correct enum type

Fixes

../../gas/config/tc-arm.c: In function 'parse_reg_list':
../../gas/config/tc-arm.c:1946:35: error: implicit conversion from 'enum reg_list_els' to 'enum arm_reg_type' [-Werror=enum-conversion]
 1946 |        reg = arm_reg_parse (&str, REGLIST_RN);
      |                                   ^~~~~~~~~~

gas/ChangeLog:

* config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
REGLIST_RN.
gas/ChangeLog
gas/config/tc-arm.c