sh: uninitialised sh_operand_info.type in get_specific
authorAlan Modra <amodra@gmail.com>
Wed, 26 Jul 2023 23:43:56 +0000 (09:13 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 27 Jul 2023 14:08:14 +0000 (23:38 +0930)
commitf1036ada3bca6f88340a0a1fbd8b103a3e0cdc2d
tree6d893fea0f328cb733af22126373c053f83378f8
parentcd2908958ace351831cea7acc87e68a93f395bc6
sh: uninitialised sh_operand_info.type in get_specific

Seen when running gas/testsuite/gas/sh/err-at.s

* config/tc-sh.c (get_operands): Always init operand type.
* testsuite/gas/sh/err-at.s: Expect unnecessary extra errors.
gas/config/tc-sh.c
gas/testsuite/gas/sh/err-at.s