------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  
2005-06-04 20:54 -------
Subject: Re:  [4.1 Regression] ICE: segmentation fault in stage3

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-04 
> 20:29 -------
> Very related to PR 21886.

More than related, they are the same:

(gdb) r `cat xx.sh`
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /test/gnu/gcc-3.3/objdir/gcc/cc1 `cat xx.sh`
Breakpoint 3 at 0x42b5d4
Breakpoint 4 at 0x40e83c
Breakpoint 3 at 0x7af87744
Breakpoint 4 at 0x7afeb230
GNU C version 4.1.0 20050604 (experimental) (hppa2.0w-hp-hpux11.11)
        compiled by GNU C version 4.1.0 20050604 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
options passed:  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
 -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
 -I/opt/gnu/include -iprefix -isystem -DIN_GCC -DHAVE_GTHR_DEFAULT
 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DL_muldi3 -isystem -isystem
 -isystem -auxbase-strip -g -O2 -W -Wall -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fPIC
options enabled:  -fPIC -falign-loops -fargument-alias -fbranch-count-reg
 -fcaller-saves -fcommon -fcprop-registers -fcrossjumping
 -fcse-follow-jumps -fcse-skip-blocks -fdefer-pop -fdelayed-branch
 -fdelete-null-pointer-checks -feliminate-unused-debug-types
 -fexpensive-optimizations -fforce-mem -ffunction-cse -fgcse -fgcse-lm
 -fguess-branch-probability -fident -fif-conversion -fif-conversion2
 -fivopts -fkeep-static-consts -fleading-underscore -floop-optimize
 -floop-optimize2 -fmath-errno -fmerge-constants -fomit-frame-pointer
 -foptimize-register-move -foptimize-sibling-calls -fpeephole -fpeephole2
 -freg-struct-return -fregmove -freorder-blocks -freorder-functions
 -frerun-cse-after-loop -frerun-loop-opt -fsched-interblock -fsched-spec
 -fsched-stalled-insns-dep -fschedule-insns -fschedule-insns2 -fshow-column
 -fsplit-ivs-in-unroller -fstrength-reduce -fstrict-aliasing -fthread-jumps
 -ftrapping-math -ftree-ccp -ftree-ch -ftree-copy-prop -ftree-copyrename
 -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-fre -ftree-loop-im
 -ftree-loop-ivcanon -ftree-loop-optimize -ftree-lrs -ftree-pre
 -ftree-salias -ftree-sink -ftree-sra -ftree-store-ccp
 -ftree-store-copy-prop -ftree-ter -ftree-vrp -funit-at-a-time
 -fvar-tracking -fzero-initialized-in-bss -mbig-switch -mgas -mspace-regs
Compiler executable checksum: a84585677dfebb3db993ca6fba1108aa
 _muldi3

Program received signal SIGSEGV, Segmentation fault.
0x7af72538 in strcmp () from /usr/lib/libc.2
(gdb) bt
#0  0x7af72538 in strcmp () from /usr/lib/libc.2
#1  0x001e8a38 in annotate_with_file_line ()
#2  0x001e8b5c in annotate_with_locus ()
#3  0x000786cc in build_stmt ()
#4  0x0002ed9c in finish_decl ()
#5  0x00080bb4 in c_parser_declaration_or_fndef ()
#6  0x00082698 in c_parser_compound_statement_nostart ()
#7  0x0008887c in c_parser_compound_statement ()
#8  0x00080eac in c_parser_declaration_or_fndef ()
#9  0x0008960c in c_parser_external_declaration ()
#10 0x0008a584 in c_parse_file ()
#11 0x00073d3c in c_common_parse_file ()
#12 0x001e64f0 in toplev_main ()
#13 0x00094464 in main ()

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21916

Reply via email to