[gnu.g++.bug] g++ 1.35.0- gets segmentation violation

jjc@UUNET.UU.NET (James Clark) (05/11/89)

g++ 1.35.0- gets a segmentation violation compiling the following
program:

Script started on Wed May 10 23:59:56 1989
jclark% cat test.c
foo()
{
  extern int bar();
  bar();
}
jclark% make test.o
/u/local/g++/g++ -B/u/local/g++/ -g -v  -sun4 -c  test.c
g++ version 1.35.0-
 /usr/local/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ test.c /tmp/cca23992.cpp
GNU CPP version 1.35
 /u/local/g++/cc1plus /tmp/cca23992.cpp -quiet -dumpbase test.c -noreg -version -G -o /tmp/cca23992.s
GNU C++ version 1.35.0- (sparc) compiled by GNU C version 1.35.
In function int foo ():
test.c:4: Segmentation violation
/u/local/g++/g++: Program cc1plus got fatal signal 11.
*** Error code 1
make: Fatal error: Command failed for target `test.o'
jclark% exit
jclark% 
script done on Thu May 11 00:00:15 1989

James Clark
jjc@jclark.uucp