Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!jclark!jjc From: jclark!jjc@UUNET.UU.NET (James Clark) Newsgroups: gnu.g++.bug Subject: g++ 1.35.0- gets segmentation violation Message-ID: <8905102303.AA23995@jclark.uucp> Date: 10 May 89 23:03:36 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 28 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