[PATCH][ARM][gas] fix build breakage with gcc-10 by using correct enum type

Szabolcs Nagy Szabolcs.Nagy@arm.com
Tue Dec 31 15:32:00 GMT 2019


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:

2019-12-31  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
	REGLIST_RN.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-gas-fix-build-breakage-with-gcc-10-by-using-corr.diff
Type: text/x-patch
Size: 499 bytes
Desc:  0001-ARM-gas-fix-build-breakage-with-gcc-10-by-using-corr.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20191231/2e7374e4/attachment.bin>


More information about the Binutils mailing list