🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

inline function core-dumper

#334
From: 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.
Technical Details
Message-ID: <8908070802.AA10088@kewill.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!UUNET.UU.NET!kewill!bryan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!UUNET.UU.NET!kewill!bryan
From: kewill!bryan@UUNET.UU.NET (Bryan Boreham)
Newsgroups: gnu.g++.bug
Subject: inline function core-dumper
Message-ID: <8908070802.AA10088@kewill.uucp>
Date: 7 Aug 89 08:02:26 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 28