PR26467 UBSAN: cgen.c:762 shift exponent 18446744073709551615
authorAlan Modra <amodra@gmail.com>
Thu, 27 Aug 2020 04:16:45 +0000 (13:46 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 27 Aug 2020 12:26:33 +0000 (21:56 +0930)
commit6fbd4a8e8baa7fe5adcaa1c11c885f741fccd250
tree4b80225e1bf7e27a71628b88ef5db6976659c3fe
parentcd570d497efca7b71ca999cb80d24bfcea5181ac
PR26467 UBSAN: cgen.c:762 shift exponent 18446744073709551615

PR 26467
* cgen.c (weak_operand_overflow_check): Handle opmask for
operand length zero.  Use 1UL constant.
gas/ChangeLog
gas/cgen.c