🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by "Douglas C. Schmidt" Sat, 07 Jan 1989 22:06
g++ 1.32 gets failed assertion
#1611
Author: "Douglas C. Schmidt"
Date: Sat, 07 Jan 1989 22:06
41 lines
1304 bytes
Hi,

   The following program gets a failed assertion message from 
g++ 1.32 on the sparc:

----------------------------------------

class Base {
  int z;
public:
  int d, e;
};

class Derived : Base {
  int a, b, c;	       
public:
  Base::d;		// error here
};

main()
{
  Derived y; 
  y.d =1;    
}

----------------------------------------

g++ version 1.32.0
 /usr/public/lib/g++/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dsparc
-Dsun -Dunix bugger.cc /tmp/cca04809.cpp
GNU CPP version 1.32
 /usr/public/lib/g++/gcc-c++ /tmp/cca04809.cpp -quiet -dumpbase
bugger.cc -noreg -version -o /tmp/cca04809.s
GNU C++ version 1.32.0 (sparc) compiled by GNU C version 1.32.
Failed assertion 0 at line 850 of `cplus-search.c'.
/usr/public/g++: Program c++ got fatal signal 6.

----------------------------------------

Doug
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads