egcs-19991201: problem with garbage collector in cc1

Andris Pavenis andris@stargate.astr.lu.lv
Thu Dec 2 02:48:00 GMT 1999


Hi!

Tried to build 19991201 snaphot for target i586-pc-msdosdjgpp.

Problem:
	cc1 of stage1 goes into infinite (perhaps so) loop when compiling 
            cccp.c while garbage collector

D:\Devel\gcc\egcs-19991201\build.djg\gcc>sh 1.sh
+ stage1/cc1.exe cccp.i -dumpbase cccp.c -O2 -version -o cccp.s
GNU C version 2.96 19991201 (experimental) (djgpp) compiled by GNU C version 2.9
5.2 19991024 (release).
options passed:  -O2
options enabled:  -fdefer-pop -fcse-follow-jumps -fcse-skip-blocks
 -fexpensive-optimizations -fthread-jumps -fstrength-reduce -fpeephole
 -fforce-mem -ffunction-cse -finline -fkeep-static-consts -fcaller-saves
 -fpcc-struct-return -fgcse -frerun-cse-after-loop -frerun-loop-opt
 -fdelete-null-pointer-checks -fschedule-insns2 -fsched-interblock
 -fsched-spec -fnew-exceptions -fcommon -fgnu-linker -fregmove
 -foptimize-register-move -fargument-alias -fstrict-aliasing -fident
 -fpeephole2 -fmath-errno -m80387 -mhard-float -mno-soft-float -mieee-fp
 -mfp-ret-in-387
 safe_read safe_write print_help main path_include index0 trigraph_pcp check_whi
te_space newline_fix name_newline_fix get_lintcmd rescan expand_to_temp_buffer h
andle_directive timestamp special_symbol do_include is_system_include base_name
absolute_filename is_dir_separator simplify_filename read_filename_string read_n
ame_map open_include_file remap_include_file lookup_ino_include finclude record_
control_macro check_precompiled check_preconditions pcfinclude pcstring_used wri
te_output pass_thru_directive create_definition do_define check_macro_name compa
re_defs {GC 5327k ->

After that no more output. Debugger shows rather deep recursion level in
sweep_objs() when I interrupted cc1 with SIGINT.

Andris


More information about the Gcc mailing list