[patch] Remove an unnecessary subreg in combine.

Richard Henderson rth@redhat.com
Fri May 24 18:28:00 GMT 2002


On Fri, May 24, 2002 at 12:01:59PM -0400, Kazu Hirata wrote:
> +      /* Here we make sure that we don't have a sign bit on.  */
> +      if (nonzero_bits (inner, inner_mode)
> +	  < (unsigned HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (inner_mode) - 1))

Careful -- this fails if inner_mode is wider than HOST_WIDE_INT.


r~



More information about the Gcc-patches mailing list