[gnu.g++.bug] inline function core-dumper

bryan@UUNET.UU.NET (Bryan Boreham) (08/07/89)

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.