On 07/13/2017 02:47 AM, Richard Sandiford wrote:
> Explicitly check for scalar_int_mode in code that maps arithmetic
> to full-mode bit operations. These operations wouldn't work correctly
> for vector modes, for example. In many cases this is enforced also by
> checking whether an operand is CONST_INT_P, but there were other cases
> where the condition is more indirect.
>
> 2017-07-13 Richard Sandiford <richard.sandif...@linaro.org>
> Alan Hayward <alan.hayw...@arm.com>
> David Sherwood <david.sherw...@arm.com>
>
> gcc/
> * combine.c (combine_simplify_rtx): Add checks for
> is_a <scalar_int_mode>.
> (simplify_if_then_else): Likewise.
> (make_field_assignment): Likewise.
> (simplify_comparison): Likewise.
> * ifcvt.c (noce_try_bitop): Likewise.
> * loop-invariant.c (canonicalize_address_mult): Likewise.
> * simplify-rtx.c (simplify_unary_operation_1): Likewise.
>
OK.
jeff