🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1767

gcc 1.29 vax: doesn't catch floating overflow in constant-folding

#1767
From: Ken Raeburn
Date: Mon, 10 Oct 1988 10:22
9 lines
632 bytes
The following program yields "fatal signal 8":

    #define SQR(x) ((x)*(x))

    double x = 1.0e+36;
    double xxx = SQR (1.0e+36);

(Floats on the vax range up to 10**38 or so.)
Technical Details
Message-ID: <8810101022.AA24098@PROMETHEUS.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!raeburn

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!raeburn
From: raeburn@ATHENA.MIT.EDU (Ken Raeburn)
Newsgroups: gnu.gcc.bug
Subject: gcc 1.29 vax: doesn't catch floating overflow in constant-folding
Message-ID: <8810101022.AA24098@PROMETHEUS.MIT.EDU>
Date: 10 Oct 88 10:22:05 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 8