ubsan: aarch64: left shift cannot be represented in type 'int64_t'
authorAlan Modra <amodra@gmail.com>
Tue, 17 Dec 2019 12:18:48 +0000 (22:48 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 17 Dec 2019 12:28:19 +0000 (22:58 +1030)
commit29298bf66f62f2f6c1efb0685623fbc29dfade90
treed30bbc387cd9f20882f5111afc901ec64d9ab5ad
parente46d79a76ea748165a3ecd1102dd10498d089a49
ubsan: aarch64: left shift cannot be represented in type 'int64_t'

* aarch64-opc.c (value_fit_signed_field_p): Avoid signed overflow.
(value_fit_unsigned_field_p): Likewise.
(aarch64_wide_constant_p): Likewise.
(operand_general_constraint_met_p): Likewise.
* aarch64-opc.h (aarch64_wide_constant_p): Update prototype.
opcodes/ChangeLog
opcodes/aarch64-opc.c
opcodes/aarch64-opc.h