Relax store_bit_field call in store_expr
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 11 Oct 2019 14:44:13 +0000 (14:44 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 11 Oct 2019 14:44:13 +0000 (14:44 +0000)
commit8b27c9052b8d191c98686e77d2fa610390c78f32
treee3ffcabde97675da6f6a0f59bbdd792f38e2f280
parent3635c2bf7c40a959ebd257d4724ebf487155a343
Relax store_bit_field call in store_expr

store_bit_field already takes a poly_uint64 size, so we can relax the
INTVAL to rtx_to_poly_int64.  This is tested by the SVE ACLE patches.

2019-10-11  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* expr.c (store_expr): Use rtx_to_poly_int64 rather than
INTVAL when calling store_bit_field.

From-SVN: r276888
gcc/ChangeLog
gcc/expr.c