Date: Thu, 27 Feb 1992 17:04:53 +0100 From: Dirk Zabel To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: help required Status: O 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 Technische Universitaet Berlin | Fachbereich Informatik Franklinstr. 28/29 | Institut fuer angewandte Informatik D - 1000 Berlin 10 | Fachgruppe Programmiersprachen und Compiler