www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/02/27/11:31:01

Date: Thu, 27 Feb 1992 17:04:53 +0100
From: Dirk Zabel <dzabel AT cs DOT tu-berlin DOT de>
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	<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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019