GCC beaten by ICC in stupid trig test!
Segher Boessenkool
segher@kernel.crashing.org
Mon Mar 15 14:29:00 GMT 2004
> we do not do that currently. Something similar is on my todo list --
> replacement of the final value of an eliminated induction variable,
> as in
>
> for (i = 0; i < 100; i++)
> a = 10 * i;
> foo (a);
>
> to
>
> for (i = 0; i < 100; i++);
> a = 1000;
> foo (a);
>
> but I am not sure whether to do it for non-integer variables as
> well, due to reasons you mention below.
a = 990? You don't need floats to do rounding errors ;-)
Segher
More information about the Gcc
mailing list