Sunday, 30 March 2014

[gccsdk] [Bug 250] GCC 4.7.4 Rel 1 Dev 2014-01-08: sqrt function

http://www.riscos.info/bugzilla3/show_bug.cgi?id=250

--- Comment #3 from John Tytgat <John.Tytgat@aaug.net> 2014-03-30 06:23:09 PDT ---
So it looks like the constant expression gets wrong evaluated. I suppose you
can reproduce this just as well using:

--8<--
#include <math.h>

double a = sqrt(2.);
--8<--

When converting to assembler:

$ gcc -S -o - -c foo.c

You should see:

.word 1073127582
.word 1719614413

I guess you will have different .word values.

I'm wondering if this isn't a VirtualRPC-Adjust specific issue, is this
configured to emulate a StrongARM processor ?

--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment