🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2060

gcc and g++ 1.31 gets fatal signal on sun 3 and sun 4

#2060
From: "Douglas C. Schmidt"
Date: Sun, 18 Dec 1988 21:06
21 lines
1056 bytes
Hi,

  The following short program causes a fatal signal on gcc and g++ 1.31.

----------------------------------------
#define a 0
#if a == 0 || 4 / a < 2
----------------------------------------

This is probably caused by a divide by zero error!

----------------------------------------
gcc version 1.31
 /usr/public/lib/gcc/gcc-cpp -v -I/cd/ua/schmidt/include/ -undef
-D__GNU__ -D__GNUC__ -Dsparc -Dsun -Dunix cpp.c /tmp/cca10118.cpp
GNU CPP version 1.31
/usr/public/gcc: Program cpp got fatal signal 8.
----------------------------------------

Doug
Technical Details
Message-ID: <8812181313.aa03027@PARIS.ICS.UCI.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!PARIS.ICS.UCI.EDU!schmidt%siam.ics.uci.edu

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!PARIS.ICS.UCI.EDU!schmidt%siam.ics.uci.edu
From: schmidt%siam.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.gcc.bug
Subject: gcc and g++ 1.31 gets fatal signal on sun 3 and sun 4
Message-ID: <8812181313.aa03027@PARIS.ICS.UCI.EDU>
Date: 18 Dec 88 21:06:18 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20