ubsan: rx-parse.y:1743 shift exponent 32 is too large
authorAlan Modra <amodra@gmail.com>
Wed, 2 Sep 2020 00:45:09 +0000 (10:15 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 2 Sep 2020 07:00:43 +0000 (16:30 +0930)
commit17e782e94f4dfb198d90738ffa0eeaa7276b3270
tree1bf71aaf6bfa4d8a72d598e3629806b3b3dcd280
parent4dda287bf650e908271a1d36ee1fca6dece4eb16
ubsan: rx-parse.y:1743 shift exponent 32 is too large

* config/rx-parse.y (rx_intop): Avoid too large shifts.
(rx_intop, rx_uintop, rx_disp3op, rx_disp5op, displacement),
(rtsd_immediate): Use correctly typed unsigned variables.
gas/ChangeLog
gas/config/rx-parse.y