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

bugzilla-daemon at riscos.info bugzilla-daemon at riscos.info
Sat Mar 29 10:16:49 PDT 2014


--- Comment #2 from Duncan Moore <duncan.moore at gmx.com> 2014-03-29 10:16:49 PDT ---
(In reply to comment #1)

> Do you also have this problem when using static UnixLib binaries (i.e. use
> -static option) ?

Yes, it's the same with -static. A similar thing happens with the trig
functions from <math.h>. It only happens when the argument is a literal
constant, not a variable:

#include <stdio.h>
#include <math.h>
int main(void) {
  double x=2.0;
  return 0;


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

More information about the gcc mailing list