🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #465

GNU C bug report

#465
From: Phil Hochstetler
Date: Thu, 13 Jul 1989 20:12
25 lines
959 bytes
Version of GNU CC:	gcc version 1.35
Input file:

#ifdef	COMMENT
In GNU C on Symmetry, converting an unsigned quantity to a float/double, if
the high bit in that quantity is set, causes a floating exception.
#endif

main()
{
	unsigned t;
	double x;

	t = 2400000000;
	x = t;
	printf("%f\n",x);
}

Compiled via:		gcc -o foo foo.c
tm.h and md file:	md -> config/i386.md
			tm.h -> config/tm-seq386.h
type of machine:	Sequent SYMMETRY
OS name and version:	DYNIX(R) V3.0.15
Bad behavior:		Running compiled program gets a
			floating point exception.
Technical Details
Message-ID: <8907132032.AA26840@decwrl.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!DECWRL.DEC.COM!sequent!phil

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!DECWRL.DEC.COM!sequent!phil
From: sequent!phil@DECWRL.DEC.COM (Phil Hochstetler)
Newsgroups: gnu.gcc.bug
Subject: GNU C bug report
Message-ID: <8907132032.AA26840@decwrl.dec.com>
Date: 13 Jul 89 20:12:39 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25