On 07/13/2017 02:52 AM, Richard Sandiford wrote:
> strict_volatile_bitfield_p returns false for any mode that isn't
> a scalar integer.  This patch moves the check to the caller and
> makes strict_volatile_bitfield_p take the mode as a scalar_int_mode.
> The handling of a true return can then also use the mode as a
> scalar_int_mode.
> 
> 2017-07-13  Richard Sandiford  <richard.sandif...@linaro.org>
>           Alan Hayward  <alan.hayw...@arm.com>
>           David Sherwood  <david.sherw...@arm.com>
> 
> gcc/
>       * expmed.c (strict_volatile_bitfield_p): Change the type of fieldmode
>       to scalar_int_mode.  Remove check for SCALAR_INT_MODE_P.
>       (store_bit_field): Check is_a <scalar_int_mode> before calling
>       strict_volatile_bitfield_p.
>       (extract_bit_field): Likewise.
OK.
jeff

Reply via email to