diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-11-25 19:46:42 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-11-25 19:46:42 +0000 |
commit | b7c3af2b8f20d298889ec4267d509ca08b085deb (patch) | |
tree | 1c2bd5d72fcca949ce36f1b3f7574f49d2a133e5 /BUGS | |
parent | 58509ef4764313d6e903c348bb3fb633bf6bfb58 (diff) | |
download | mpfr-b7c3af2b8f20d298889ec4267d509ca08b085deb.tar.gz |
BUGS: removed obsolete "compiler bugs" section.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4293 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'BUGS')
-rw-r--r-- | BUGS | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -51,25 +51,3 @@ Potential bugs: * Error analysis for some functions may be incorrect (out-of-date due to modifications in the code?). - - -Problems due to compiler bugs: - -* on some architectures (for example alpha-dec-osf), gcc 3.3 wrongly - compares "long double" floating-point numbers, with optimization level - 1 or higher. This bug can be detected by the following program: - - #include <stdio.h> - #include <stdlib.h> - #include <float.h> - int - main () - { - long double d; - d = 1.0; while (d < LDBL_MAX / 2.0) d += d; - if (d == (long double) 0.0) - printf ("d equals 0.0\n"); - } - - This results in a problem in the mpfr_set_ld function. A workaround is - to compile set_ld.c with -O0 (no optimization). |