🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bryan Boreham Mon, 07 Aug 1989 08:02
inline function core-dumper
#334
Author: Bryan Boreham
Date: Mon, 07 Aug 1989 08:02
28 lines
860 bytes
This program:

inline void foo()
{
  int foo1[1];
}

void bar(int bar1, int bar2)
{
  foo();
}


Does this:

kewill% /usr/local/lib/gcc-cc1plus bug10.cc
void foo (); void bar (int, int);
bug10.cc:8: Segmentation violation
Segmentation fault (core dumped)


I believe this is the same bug that causes g++ to dump core when
compiling some of ET++ with -finline-functions. 

System: Sun 3/280, SunOS 3.5, g++ 1.35.1-

Bryan.
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