Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!mizar.docs.uu.se!perm From: perm@mizar.docs.uu.se (Per Mildner) Newsgroups: gnu.g++.bug Subject: Program cc1plus got fatal signal 11 Message-ID: <8905250919.AA28185@mizar.DoCS.UU.SE> Date: 25 May 89 09:19:28 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 42 I'm Per-Mildner@AIDA.CSD.UU.SE Configuration: SUN 4 with OS 4 tm.h -> config/tm-sparc+.h md -> config/sparc.md g++ version 1.35.0 g++ -Wall -O program.cc // compiling below program craches g++: Program cc1plus got fatal signal 11 class Machine { }; char* Instruction::name() { return "illegal instruction"; friend class Machine; }; void Instruction::interpret(Machine& machine) { error("Not defined: instruction.interpret"); }; void Instruction::interpret_R_mode(Machine& machine) { /* mizar 43% g++ -Wall -O bug.cc ld++: malformed input file (not rel or archive) test/signal-11-bug.txt mizar 44% g++ -Wall -O bug.cc bug.cc:5: `Instruction' fails to be an aggregate typedef In function char *name (): bug.cc:7: warning: empty declaration At top level: bug.cc:10: `Instruction' fails to be an aggregate typedef In function void interpret (struct Machine &): bug.cc:11: warning: implicit declaration of function `error' At top level: bug.cc:13: `Instruction' fails to be an aggregate typedef At top level: bug.cc:13: Segmentation violation g++: Program cc1plus got fatal signal 11. mizar 45% */