🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2796

floating point bug in sparc 1.36

#2796
From: Robert A. Bruce
Date: Tue, 02 Jan 1990 17:08
21 lines
847 bytes
The following program causes gcc 1.36 to take a bus error
on the sun4.  The bus error occurs in the function `output_address',
line 1528, file final.c.

--------------------------------------------------------

void
foo()
{
    static double y[101];
    double x;
    int i;

    for (i = -1; x >= y[i+1]; ++i){
    }
    return;
}

--------------------------------------------------------

        -bob
Technical Details
Message-ID: <9001021708.AA737041@sprite.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!ALLSPICE.BERKELEY.EDU!rab

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!ALLSPICE.BERKELEY.EDU!rab
From: rab@ALLSPICE.BERKELEY.EDU (Robert A. Bruce)
Newsgroups: gnu.gcc.bug
Subject: floating point bug in sparc 1.36
Message-ID: <9001021708.AA737041@sprite.Berkeley.EDU>
Date: 2 Jan 90 17:08:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21