GCC beaten by ICC in stupid trig test!

Paolo Carlini pcarlini@suse.de
Mon Mar 15 13:55:00 GMT 2004


Zdenek Dvorak wrote:

>>Perhaps it's ok moving doit even when -ffast-math is not passed, I don't
>>know for sure, honestly...
>>    
>>
>it should be -- it is just an invariant motion (the value returned by
>doit obviously is always the same, since we invoke it with the same
>argument).
>  
>
Ah, ok! On the other hand, it wouldn't be ok collapsing in a second step 
the whole
loop to a constant, right?

Paolo.



More information about the Gcc mailing list