[gnu.g++.bug] g++ 1.35.0 gets a fatal signal

amanda@IESD.AUC.DK (Per Abrahamsen) (05/30/89)

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

amanda@IESD.AUC.DK (Per Abrahamsen) (05/31/89)

g++ 1.35.0 compiled on a sun 3/60 running SunOS 4.0.1

Script started on Wed May 31 02:25:05 1989
% cat err6.cc
class C
{
public:
    C();
};

C::C()
{ }

class A
{
    C c;
};

class B
{
    A a[25][25];
public:
    B();
};

B::B()
{ }

B b;
% g++ -v -c err6.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 err6.cc /tmp/cca00310.cpp
GNU CPP version 1.35
 /home/local/gnu/lib/gcc-cc1plus /tmp/cca00310.cpp -quiet -dumpbase err6.cc -noreg -version -o /tmp/cca00310.s
GNU C++ version 1.35.0 (68k, MIT syntax) compiled by GNU C version 1.35.
In method struct B *B::B ():
err6.cc:23: Segmentation violation
g++: Program cc1plus got fatal signal 11.
% exit
% 
script done on Wed May 31 02:28:16 1989

--
Per Abrahamsen,  amanda@iesd.dk, {...}!mcvax!diku!iesd!amanda