On Tue, Apr 16, 2019 at 08:40:29PM -0600, Martin Sebor wrote:
> --- gcc/tree.h        (revision 270402)
> +++ gcc/tree.h        (working copy)
> @@ -3735,9 +3735,9 @@ TYPE_VECTOR_SUBPARTS (const_tree node)
>    if (NUM_POLY_INT_COEFFS == 2)
>      {
>        poly_uint64 res = 0;
> -      res.coeffs[0] = 1 << (precision & 0xff);
> +      res.coeffs[0] = (unsigned HOST_WIDE_INT)1 << (precision & 0xff);
>        if (precision & 0x100)
> -     res.coeffs[1] = 1 << (precision & 0xff);
> +     res.coeffs[1] = (unsigned HOST_WIDE_INT)1 << (precision & 0xff);

Instead of (unsigned HOST_WIDE_INT)1 one should use HOST_WIDE_INT_1U
macro.

        Jakub

Reply via email to