https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
Alexander Monakov changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
--- Comment #11 from Eric Gallager ---
(In reply to David Heidelberger (okias) from comment #10)
> fixed in glibc
so... what still needs to be done from GCC's side then?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
David Heidelberger (okias) changed:
What|Removed |Added
CC||david.heidelberger at ixit do
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
--- Comment #9 from Rich Felker 2012-04-29 01:21:59
UTC ---
Reported to glibc bug tracker as bug #14032:
http://sourceware.org/bugzilla/show_bug.cgi?id=14032
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
--- Comment #8 from joseph at codesourcery dot com 2012-04-29 00:16:38 UTC ---
If you have a bug in glibc's libm, please make sure there is an open bug
report for it in glibc Bugzilla, component "math"; I don't see anything
there about sqrt.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
--- Comment #7 from Rich Felker 2012-04-28 23:21:51
UTC ---
This bug seems to have been fixed with the addition of the
-fexcess-precision=standard feature, which is now set by default with -std=c99
or c11, and which disables the builtin sqrt base
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
--- Comment #6 from Rich Felker 2012-03-16 14:23:09
UTC ---
The 387 FPU ensures correct rounding for the currently selected precision mode,
which per the ABI is always extended precision.
As for the usefulness of fixing this, I found the bug whi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
Richard Guenther changed:
What|Removed |Added
Keywords||wrong-code
Target|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
--- Comment #4 from Rich Felker 2012-03-15 23:53:51
UTC ---
Of course. This bug is 387-math-specific.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
--- Comment #3 from Dominique d'Humieres 2012-03-15
19:24:53 UTC ---
On x86_64-apple-darwin10 (default '-mfpmath=sse'), I get '0x1.fp-1'
for all the revisions I have tested (from 4.4 to 4.8) unless I compile the test
with '-mfpmath=38
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
--- Comment #2 from Rich Felker 2012-03-15 16:37:25
UTC ---
Tested with gcc 4.6.2.
#include
#include
int main()
{
volatile double x = 0x1.fp-1;
volatile double y = sqrt(x);
printf("%a\n", y);
}
Compile with -O2 -ffloat
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
12 matches
Mail list logo