🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2681

Signal 6 with gcc-1.35 with Sun386

#2681
From: jeffe
Date: Thu, 25 May 1989 23:45
23 lines
1186 bytes
The following example will cause gcc-1.35 to fail with a signal 6 on a
Sun 386i running SunOS 4.0.1.  gcc was configured with 'config.gcc sun386'.

% cat bomb.c
const inline double tan(d)
 double d;
{
	double r1, r2;
	asm( "fptan" : "=f" (r1), "=f" (r2) : "f" (d) );
	return r2;
}
% gcc -v bomb.c
gcc version 1.35
 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dunix -Di386 -Dsun386 -Dsun -D__unix__ -D__i386__ -D__sun386__ -D__sun__ bomb.c /tmp/cca02158.cpp
GNU CPP version 1.35
 /usr/local/lib/gcc-cc1 /tmp/cca02158.cpp -quiet -dumpbase bomb.c -version -o /tmp/cca02158.s
GNU C version 1.35 (80386, Sun syntax) compiled by GNU C version 1.35.
gcc: Program cc1 got fatal signal 6.
% 

Jeff Eaton
Intel Corporation, Oregon Microcomputer Engineering.
jeffe@mipon2.intel.com    (503) 696-4534
Technical Details
Message-ID: <8905252345.AA02167@omews40>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!omews40.intel.com!jeffe

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!omews40.intel.com!jeffe
From: jeffe@omews40.intel.com
Newsgroups: gnu.gcc.bug
Subject: Signal 6 with gcc-1.35 with Sun386
Message-ID: <8905252345.AA02167@omews40>
Date: 25 May 89 23:45:54 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23