Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!NCIFCRF.GOV!elsie!ado From: elsie!ado@NCIFCRF.GOV (Arthur David Olson) Newsgroups: gnu.gcc.bug Subject: Gnu GCC 1.33 can dump core if -O is used Message-ID: <8902042208.AA25717@elsie> Date: 4 Feb 89 22:08:10 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 43 (We're running SunOS 4.0 on a Sun 3/110.) Description: Gnu GCC 1.33 can dump core if -O is used. Repeat-By: Script started on Sat Feb 4 17:04:57 1989 elsie$ cat try.c void x(sp) short * sp; { short s[4]; s[2] = sp[2]; } elsie$ /usr/local/bin/gcc -v -O try.c gcc version 1.33 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__OPTIMIZE__ -D__HAVE_68881__ -Dmc68020 try.c /tmp/cca25670.cpp GNU CPP version 1.33 /usr/local/lib/gcc-cc1 /tmp/cca25670.cpp -quiet -dumpbase try.c -O -version -o /tmp/cca25670.s GNU C version 1.33 (68k, MIT syntax) compiled by GNU C version 1.33. /usr/local/bin/gcc: Program cc1 got fatal signal 11. elsie$ dbx /usr/local/lib/gcc-cc1 Reading symbolic information... Read 49291 symbols (dbx) where equiv_constant(x = 0x8cdd4), line 2400 in "cse.c" cse_insn(insn = 0x8cdf4), line 2865 in "cse.c" cse_basic_block(from = 0x8cb78, to = 0x1), line 3575 in "cse.c" cse_main(f = 0x8cb78, nregs = 58), line 3543 in "cse.c" rest_of_compilation(decl = 0x8cdd4, 0x8eb1e, 0x8), line 1262 in "toplev.c" finish_function(), line 3509 in "c-decl.c" yyparse(), line 245 in "bison.simple" compile_file(name = 0x1 ""), line 976 in "toplev.c" main(argc = 576992, argv = 0x8cdd4, envp = 0xefffb5c), line 1713 in "toplev.c" (dbx) quit elsie$ exit script done on Sat Feb 4 17:06:07 1989 -- Arthur David Olson ado@ncifcrf.gov ADO is a trademark of Ampex.