Re: [PATCH][AArch64] Fix PR87511

2018-10-11 Thread Richard Sandiford
Wilco Dijkstra writes: > As mentioned in PR87511, the shift used in aarch64_mask_and_shift_for_ubfiz_p > should be evaluated as a HOST_WIDE_INT rather than int. > > Passes bootstrap, OK for commit and backport? OK for both, thanks. Richard (Reviewing since this is really an rtl handling bug rat

[PATCH][AArch64] Fix PR87511

2018-10-11 Thread Wilco Dijkstra
As mentioned in PR87511, the shift used in aarch64_mask_and_shift_for_ubfiz_p should be evaluated as a HOST_WIDE_INT rather than int. Passes bootstrap, OK for commit and backport? ChangeLog: 2018-10-11 Wilco Dijkstra gcc/ * config/aarch64/aarch64.c (aarch64_mask_and_shift_for_ubfiz_p)