🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #2052

g++ 1.35.0 gets a fatal signal

#2052
From: Per Abrahamsen
Date: Mon, 29 May 1989 21:27
32 lines
1580 bytes
g++ 1.35.0 compiled on a sun3/60 under SunOS4.0.1

Script started on Mon May 29 23:15:38 1989
% cat err2.cc
static t x = t();

struct t
{
    inline t() { }
};

static t y = x;

% g++ -v err2.cc
g++ version 1.35.0
 /home/local/gnu/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -D__cplusplus -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 err2.cc /tmp/cca25141.cpp
GNU CPP version 1.35
 /home/local/gnu/lib/gcc-cc1plus /tmp/cca25141.cpp -quiet -dumpbase err2.cc -noreg -version -o /tmp/cca25141.s
GNU C++ version 1.35.0 (68k, MIT syntax) compiled by GNU C version 1.35.
err2.cc:1: parse error before `x'
err2.cc:1: warning: implicit declaration of function `t'
err2.cc:1: initializer for static variable is not constant
err2.cc:1: warning: data definition lacks type or storage class
err2.cc:4: warning: type declaration of t shadows previous declaration
err2.cc:4: warning: `t' was previously implicitly declared to return `int'
err2.cc:4: warning: `t' was declared implicitly `extern' and later `static'
err2.cc:8: Segmentation violation
g++: Program cc1plus got fatal signal 11.
% exit
exit

script done on Mon May 29 23:17:03 1989
Technical Details
Message-ID: <8905292127.AA28770@iesd.dk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!IESD.AUC.DK!amanda

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!IESD.AUC.DK!amanda
From: amanda@IESD.AUC.DK (Per Abrahamsen)
Newsgroups: gnu.g++.bug
Subject: g++ 1.35.0 gets a fatal signal
Message-ID: <8905292127.AA28770@iesd.dk>
Date: 29 May 89 21:27:41 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 32