Mail Archives: djgpp/1992/02/27/11:31:01
Hi,
could somebody who is lucky enough to have a REAL 387 try to compile
this short program with "gcc -c -S test.c":
------- cut here -------- test.c ---------------
double q = 0.3e10;
------- cut here -------------------------------
If the generated assembly-language output does not contain
the following bad constant, the 387-emulator has most probably another bug.
-- Dirk
------- cut here -------- test.s ---------------
.file "test.c"
gcc_compiled.:
.globl _q
.data
.align 2,144
_q:
.double 0d2.999999999:0000..(((/e+09
------- cut here -------------------------------
~~~~~~~~~~
Dirk Zabel <dzabel AT cs DOT tu-berlin DOT de>
Technische Universitaet Berlin | Fachbereich Informatik
Franklinstr. 28/29 | Institut fuer angewandte Informatik
D - 1000 Berlin 10 | Fachgruppe Programmiersprachen und Compiler
- Raw text -