This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bootstrap failure with todays 3.3 CVS on hppa-unknown-linux-gnu


An ICE occurs in stage1:

./xgcc -B./ -B/home/dave/opt/gnu/gcc/gcc-3.3/hppa-linux/bin/ -isystem /home/dave
/opt/gnu/gcc/gcc-3.3/hppa-linux/include -isystem /home/dave/opt/gnu/gcc/gcc-3.3/
hppa-linux/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-protot
ypes -Wmissing-prototypes -isystem ./include  -fPIC -DELF=1 -DLINUX=1 -g -DHAVE_
GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc -I..
/../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include  -DL_divdi3 -c .
./../gcc/gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o
../../gcc/gcc/libgcc2.c: In function `__divdi3':
../../gcc/gcc/libgcc2.c:757: internal compiler error: Segmentation fault

Looking at this under gdb:

...
strtoll strtoull atof atoi atol atoll __udivmoddi4 __divdi3
Program received signal SIGSEGV, Segmentation fault.
0x0032721c in make_edges (label_value_list=0x0, min=0x445550, max=0x445550, 
    update_p=1) at ../../gcc/gcc/cfgbuild.c:322
322           if (GET_CODE (bb->head) == CODE_LABEL && LABEL_ALT_ENTRY_P (bb->head))
(gdb) p bb->head
$1 = (struct rtx_def *) 0x0
(gdb) p bb
$2 = (struct basic_block_def *) 0x445550
(gdb) p *bb
$3 = {head = 0x0, end = 0x0, head_tree = 0x0, end_tree = 0x0, pred = 0x4d68c8, 
  succ = 0x0, local_set = 0x0, cond_local_set = 0x0, 
  global_live_at_start = 0x0, global_live_at_end = 0x0, aux = 0x0, index = -2, 
  prev_bb = 0x4d6788, next_bb = 0x0, loop_depth = 0, loop_father = 0x0, 
  count = 0, frequency = 0, flags = 4}
(gdb) p *bb->prev_bb
$4 = {head = 0x402d35d0, end = 0x402d3840, head_tree = 0x0, end_tree = 0x0, 
  pred = 0x4d68f0, succ = 0x4d68c8, local_set = 0x0, cond_local_set = 0x0, 
  global_live_at_start = 0x0, global_live_at_end = 0x0, aux = 0x1, index = 64, 
  prev_bb = 0x4d6738, next_bb = 0x445550, loop_depth = 0, loop_father = 0x0, 
  count = 0, frequency = 0, flags = 7}

The cause appears to be one of these two patches:

<http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01754.html>, or possibly
<http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01755.html>.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]