[gnu.gcc.bug] GCC 1.30 fails stage 2 on Sequent Symmetry

sven@tde.lth.se (Sven Mattisson) (10/18/88)

On a Sequent Symmetry GCC 1.30 fails stage 2 with the following message:

	stage2/gcc -g -Bstage2/ -c -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" gcc.c
stage2/gcc: Program cc1 got fatal signal 11.
*** Error code 1
Make: .  Stop.

A closer look yields:

41 gnu@hurratio% stage2/gcc -v -g -O -Bstage2/ -c gcc.c
gcc version 1.30
 stage2/cpp -v -undef -D__GNU__ -D__GNUC__ -Dunix -Di386 -Dsequent -D__OPTIMIZE__ gcc.c /tmp/cc017241.cpp
GNU CPP version 1.30
 stage2/cc1 /tmp/cc017241.cpp -quiet -dumpbase gcc.c -g -O -version -o /tmp/cc017241.s
GNU C version 1.30 (80386, BSD syntax) compiled by GNU C version 1.30.
stage2/gcc: Program cc1 got fatal signal 4.

42 gnu@hurratio% stage2/cpp -v -undef -D__GNU__ -D__GNUC__ -Dunix -Di386 -Dsequent -D__OPTIMIZE__ gcc.c /tmp/cc0174241.cpp
GNU CPP version 1.30

43 gnu@hurratio% stage2/cc1 /tmp/cc017241.cpp -dumpbase gcc.c -g -O -version -o /dev/null
GNU C version 1.30 (80386, BSD syntax) compiled by GNU C version 1.30.
Illegal instruction (core dumped)

44 gnu@hurratio% dbx stage2/cc1
dbx version 5.10 of 5/20/88 23:31 (Sequent).
Type 'help' for help.
reading symbolic information ... 
[using memory image in core]
(dbx) where
abort() at 0x5d193
layout_decl(decl = 0x8a7ac, known_align = 0), line 298 in "stor-layout.c"
build_decl(code = PARM_DECL, name = 0x88dd8, type = 0x80000), line 1179 in "tree.c"
grokdeclarator(declarator = 0x8a77c, declspecs = 0x8a764, decl_context = PARM, initialized = 0), line 2281 in "c-decl.c"
push_parm_decl(parm = 0x8a794), line 1675 in "c-decl.c"
yyparse(), line 1111 in "c-parse.y"
compile_file(name = "/tmp/cc017241.cpp"), line 891 in "toplev.c"
main(argc = 9, argv = 0x3fffecf4, envp = 0x3fffed1c), line 1609 in "toplev.c"
(dbx) q

During stage 1 the following error is output:

	stage1/gcc -g -Bstage1/ -c insn-output.c &8772
aux-output.c: In function output_move_const_single:
aux-output.c:631: warning: `output_move_const_single' was declared `extern' and later `static'
aux-output.c:631: warning: previous declaration of `output_move_const_single'

However, fixing this does not help during stage 2.

Sven Mattisson				sven@tde.lth.se
Department of Applied Electronics
University of Lund
Lund, Sweden