This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] proposed fix for PR40987 if-conversion bug on HWI32 hosts
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Mikael Pettersson <mikpe at it dot uu dot se>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Sep 2009 22:02:36 +0200
- Subject: Re: [PATCH] proposed fix for PR40987 if-conversion bug on HWI32 hosts
- References: <19130.34705.539856.885099@pilspetsen.it.uu.se>
> 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