[PATCH] proposed fix for PR40987 if-conversion bug on HWI32 hosts
Eric Botcazou
ebotcazou@adacore.com
Fri Sep 25 20:04:00 GMT 2009
> This proposed fix compares GET_MODE_BITSIZE of the mode of the
> destination variable with HOST_BITS_PER_WIDE_INT to see if
> compile-time arithmetic may be inadequate, and in that case
> performs an early failure return from the function.
Won't this disable the transformation for 'long long' variables but small
constants as well? If so, can this be avoided by using host_integerp at the
appropriate places instead?
--
Eric Botcazou
More information about the Gcc-patches
mailing list