🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2234

gcc 1.33 bug on Sun 3/SunOS 4.0.1

#2234
From: Arnie Ostebee
Date: Mon, 06 Feb 1989 03:22
33 lines
1208 bytes
/*
 *  The following program causes gcc-1.33 to dump core (fatal signal 11)
 *  when compiled on a Sun-3 running SunOS 4.0.1:
 *
 *	gcc version 1.33
 *	    /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dmc68000 -Dsun
 *	    -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__OPTIMIZE__
 *	    -D__HAVE_68881__ -Dmc68020 bug2.c /tmp/cca20098.cpp
 *	GNU CPP version 1.33
 *	    /usr/local/lib/gcc-cc1 /tmp/cca20098.cpp -quiet -dumpbase
 *	    bug2.c -O -version -o /tmp/cca20098.s
 *	GNU C version 1.33 (68k, MIT syntax) compiled by GNU C version 1.33.
 *	gcc: Program cc1 got fatal signal 11.
 *
 *
 *  REPEAT BY:  gcc -O -c bug2.c
 *
 *
 *							Arnie Ostebee
 * 							ostebee@stolaf.edu
 *
 */


char 	x;

void 
bug2()
{
    struct { unsigned char y; } z;

	z.y = x;
}
Technical Details
Message-ID: <8902060322.AA20131@troilus.stolaf.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!CIS.OHIO-STATE.EDU!ostebee

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!CIS.OHIO-STATE.EDU!ostebee
From: ostebee@CIS.OHIO-STATE.EDU (Arnie Ostebee)
Newsgroups: gnu.gcc.bug
Subject: gcc 1.33 bug on Sun 3/SunOS 4.0.1
Message-ID: <8902060322.AA20131@troilus.stolaf.edu>
Date: 6 Feb 89 03:22:22 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 33