Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!SAUNA.HUT.FI!jkp From: jkp@SAUNA.HUT.FI (Jyrki Kuoppala) Newsgroups: gnu.g++.bug Subject: G++ 1.35.0- fails on Altos 3068 (m68k USG box) Message-ID: <8905091704.AA25047@cs.hut.fi> Date: 9 May 89 17:04:06 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: Helsinki University of Technology, Finland. Lines: 52 G++.xtar.Z was from May 6, I think. Previous version (when it still was gcc-c++, around April 26) worked fine. G++ was compiled with gcc 1.35.0 and compiled with files from gcc 1.35.0. Here's what happens: jkp@lupu '~' 136: g++ -v hello2.cc g++ version 1.35.0- /usr/local/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dmc68000 -DPORTAR -Dm c68k32 -Uvax -Dm68k -Dunix -D__mc68000__ -D__PORTAR__ -D__mc68k32__ -Uvax__ -D__ m68k__ -D__unix__ -Dmc68020 hello2.cc /tmp/cca02670.cpp GNU CPP version 1.35 /usr/local/lib/gcc-cc1plus /tmp/cca02670.cpp -quiet -dumpbase hello2.cc -noreg -version -o /tmp/cca02670.s GNU C++ version 1.35.0- (68k, MIT syntax) compiled by GNU C version 1.35. g++: Program cc1plus got fatal signal 6. jkp@lupu '~' 137: gdb /usr/local/lib/gcc-cc1plus core GDB 3.1.2, Copyright (C) 1988 Free Software Foundation, Inc. There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details. GDB is free software and you are welcome to distribute copies of it under certain conditions; type "info copying" to see the conditions. Reading symbol data from /usr/local/lib/gcc-cc1plus...done. Core file is from "gcc-cc1plus". Type "help" for a list of commands. (gdb) bt #0 0x96428 in kill () #1 0x93fc0 in abort () #2 0x54848 in decode_reg_name (asmspec=(tree) 0xd919a) (varasm.c line 154) #3 0x549fe in make_decl_rtl (decl=(tree) 0xd9400, asmspec=(tree) 0xd919a, top_l evel=1) (varasm.c line 182) #4 0x3a3b8 in rest_of_decl_compilation (decl=(tree) 0xd9400, asmspec=(char *) 0 xd919a "__exit", top_level=1, at_end=0) (toplev.c line 1347) #5 0x1005e in finish_decl (decl=(tree) 0xd9400, init=(tree) 0x0, asmspec=(char *) 0xd919a "__exit") (cplus-decl.c line 3362) #6 0x95c4 in yyparse () (cplus-p.y line 1376) #7 0x39f7e in compile_file (name=(char *) 0xffece3 "/tmp/cca02670.cpp") (toplev .c line 1160) #8 0x3b4ba in main (argc=9, argv=(char **) 0xffec20, envp=(char **) 0xffec48) ( toplev.c line 2064) (gdb) quit jkp@lupu '~' 138: cat hello2.cc #include #include main() { printf ("hello world!\n"); cout << "Hello world2!\n"; } //Jyrki