arm: Fix an rtl checking failure in cde-errors.c
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 27 Apr 2020 16:25:20 +0000 (17:25 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 27 Apr 2020 16:25:20 +0000 (17:25 +0100)
commit53e65d80dd8ac8b5e68fd62a7dd9f3437e1555d3
tree70dffad8b81fd08432921cefabea4cb749b1c04d
parent3d537943fbdbaa07fdf31555e7f0d6454e4dc12a
arm: Fix an rtl checking failure in cde-errors.c

cde-errors.c and cde-mve-error-2.c were failing with an rtl checking
failure because we applied UINTVAL to a nonconstant argument
(specifically a REG).

2020-04-27  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/arm/arm-builtins.c (arm_expand_builtin_args): Only apply
UINTVAL to CONST_INTs.
gcc/ChangeLog
gcc/config/arm/arm-builtins.c