On 07/13/2017 02:50 AM, Richard Sandiford wrote:
> A future patch will make valid_pointer_mode take a scalar_int_mode
> instead of a machine_mode.  is_a <...> rather than as_a <...> is
> needed here because we're checking a mode supplied by the user.
> 
> 2017-07-13  Richard Sandiford  <richard.sandif...@linaro.org>
>           Alan Hayward  <alan.hayw...@arm.com>
>           David Sherwood  <david.sherw...@arm.com>
> 
> gcc/c-family/
>       * c-attribs.c (handle_mode_attribute): Check for a scalar_int_mode
>       before calling targetm.addr_space.valid_pointer_mode.
OK.
jeff

Reply via email to