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 #4 from Duncan Moore <duncan.moore@gmx.com> 2014-03-30 10:24:17 PDT ---
(In reply to comment #3)
> --8<--
> #include <math.h>
>
> double a = sqrt(2.);
> --8<--
>
> $ gcc -S -o - -c foo.c

I get:

.file "sqrt.c"
sqrt.c:2:12: warning: initializer element is not a constant expression [enabled
by default]
.global a
.data
.align 2
.type a, %object
.size a, 8
a:
.word 1073152000
.word 0
.ident "GCC: (GCCSDK GCC 4.7.4 Release 1 Development) 4.7.4 20140108
(prerelease) [gcc-4_7-branch revision 206442]"

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

No

--
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