Ping

Ian Lance Taylor ian@airs.com
Tue Oct 11 18:07:00 GMT 2005


Eric Botcazou <ebotcazou@libertysurf.fr> writes:

> > > bogus transformation of (float)floor(x) to floorf((float)x)
> > > http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01376.html
> >
> > This is OK.
> 
> As explained here
> 
>   http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00504.html
> 
> butchering this code was a little coarse.  I've attached an alternate patch 
> that fixes PR middle-end/24263 and has been bootstrapped/regtested on 
> x86_64-suse-linux.  OK for mainline?
> 
> 
> 2005-10-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
> 
> 	PR middle-end/24263 
> 	* convert.c (convert_to_real): Revert 2005-10-05 patch.
> 	Only apply the optimization for rounding builtins if the inner
> 	cast is also an extension.

This is OK.  Thanks.

Ian



More information about the Gcc-patches mailing list