------- Comment #4 from mp2 at ladybridge dot com  2009-02-16 09:10 -------
(In reply to comment #3)
> I would generate the assembly by using a local function name rather than
> using main().
The original problem was deep in a complex program. I was trying to bring it
down to the shortest program that demonstrated the issue.

> From what I'm seeing, I don't know if it might be a typecasting issue
>did you try something like this? " (float)out = sqrt((float)in); "

Tried this and it still fails.

Also, the problem affects many mathematical functions, not just sqrt(). I first
saw it with sin().

Thanks for your help.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39085

Reply via email to