[gnu.gcc.bug] GCC fails stage1 on a Sequent Symmetry

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

GNU 1.29 fails stage1 on some files, for example tree.c and
stor-layout.c, with signal 4.  cc1 runs out of registers in new_spills
and calls abort.

The following example was generated on a Sequent Symmetry.

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

------------------------------------------------------------------------
49 gnu@hurratio% make CC=stage1/gcc CFLAGS="-verbose -g -O -Bstage1/"
        stage1/gcc -verbose -g -O -Bstage1/ -c tree.c
gcc version 1.29
 stage1/cpp -undef -D__GNU__ -D__GNUC__ -Dunix -Di386 -Dsequent -D__OPTIMIZE__ t
ree.c /tmp/cc015622.cpp
 stage1/cc1 /tmp/cc015622.cpp -quiet -dumpbase tree.c -g -O -o /tmp/cc015622.s


50 gnu@hurratio% stage1/cc1 /tmp/cc015622.cpp -dumpbase tree.c -g -O -o /dev/nu
ll 
 init_tree temporary_allocation end_temporary_allocation resume_temporary_alloca
tion allocation_temporary_p permanent_allocation preserve_data oballoc obfree pe
rmalloc push_momentary clear_momentary pop_momentary suspend_momentary resume_mo
mentary make_node copy_node get_identifier build_int_2 build_real build_real_fro
m_int_cst build_string build_complex integer_zerop integer_onep integer_all_ones
p list_length chainon build_tree_list tree_cons perm_tree_cons temp_tree_cons sa
veable_tree_cons tree_last nreverse size_in_bytes int_size_in_bytes array_type_n
elts staticp lvalue_p lvalue_or_else save_expr stabilize_reference build build_n
t build_decl build_let build_type_variant type_hash_list type_hash_lookup type_h
ash_addIllegal instruction (core dumped)


51 gnu@hurratio% dbx stage1/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 0x6456f
new_spill_reg(i = 10, class = 1, max_needs = 0x3fffd1ac, max_nongroups = 0x3fffd
128, counted_for_nongroups = "", global = 1, dumpfile = (nil)), line 866 in "rel
oad1.c"
$b686, line 760 in "reload1.c"
reload1.reload(first = 0x811dc, global = 1, dumpfile = (nil)), line 760 in "relo
ad1.c"
global_alloc(file = (nil)), line 303 in "global-alloc.c"
$b37, line 1286 in "toplev.c"
rest_of_compilation(decl = 0xd8bf4), line 1286 in "toplev.c"
finish_function(), line 3291 in "c-decl.c"
yyparse(), line 208 in "c-parse.tab.c"
compile_file(name = "/tmp/cc015622.cpp"), line 863 in "toplev.c"
main(argc = 8, argv = 0x3fffec90, envp = 0x3fffecb4), line 1579 in "toplev.c"