This is the mail archive of the gcc-bugs@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]

19991110 chk-ICE compiling gcc/expr.c on alpha-dec-osf4.0e


Title: 19991110 chk-ICE compiling gcc/expr.c on alpha-dec-osf4.0e

alpha-dec-osf4.0e --enable-checking

stage1/xgcc -Bstage1/ -B/usr/local/alpha-dec-osf4.0e/bin/ -c  -DIN_GCC    -W -Wall -O2 -g -O2  -DHAVE_CONFIG_H    -I. -I../../egcs-19991110/gcc -I../../egcs-19991110/gcc/config -I../../egcs-19991110/gcc/../include ../../egcs-19991110/gcc/expr.c

../../egcs-19991110/gcc/expr.c: In function `store_constructor':
../../egcs-19991110/gcc/expr.c:4249: warning: comparison between signed and unsigned
../../egcs-19991110/gcc/expr.c: In function `store_field':
../../egcs-19991110/gcc/expr.c:4742: warning: comparison between signed and unsigned
../../egcs-19991110/gcc/expr.c: In function `expand_expr':
../../egcs-19991110/gcc/expr.c:6724: warning: comparison between signed and unsigned
xgcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [expr.o] Error 1
make[2]: Leaving directory `/user/rand/rdb/src/egcs-19991110.chk/gcc'
Stack overflow: pid 12762, proc cc1, addr 0x11fdfffd0, pc 0x12078719c


 stage1/cc1 expr.i -quiet -dumpbase expr.c -g -O2 -O2 -W -Wall -version -o expr.s
GNU C version 2.96 19991110 (experimental) (alpha-dec-osf4.0e) compiled by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release).

../../egcs-19991110/gcc/expr.c: In function `store_constructor':
../../egcs-19991110/gcc/expr.c:4249: warning: comparison between signed and unsigned
../../egcs-19991110/gcc/expr.c: In function `store_field':
../../egcs-19991110/gcc/expr.c:4742: warning: comparison between signed and unsigned
../../egcs-19991110/gcc/expr.c: In function `expand_expr':
../../egcs-19991110/gcc/expr.c:6724: warning: comparison between signed and unsigned
xgcc: Internal compiler error: program cc1 got fatal signal 11


GNU C version 2.96 19991110 (experimental) (alpha-dec-osf4.0e) compiled by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release).

../../egcs-19991110/gcc/expr.c: In function `store_constructor':
../../egcs-19991110/gcc/expr.c:4249: warning: comparison between signed and unsigned
../../egcs-19991110/gcc/expr.c: In function `store_field':
../../egcs-19991110/gcc/expr.c:4742: warning: comparison between signed and unsigned
../../egcs-19991110/gcc/expr.c: In function `expand_expr':
../../egcs-19991110/gcc/expr.c:6724: warning: comparison between signed and unsigned

Program received signal SIGSEGV, Segmentation fault.
0x12078719c in lookup_page_table_entry (p=0x97bc80)
    at ../../egcs-19991110/gcc/ggc-page.c:324
324     {
#0  0x12078719c in lookup_page_table_entry (p=0x97bc80)
    at ../../egcs-19991110/gcc/ggc-page.c:324
#1  0x120782400 in ggc_mark_rtx_children (r=0x97bd00)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#2  0x120782418 in ggc_mark_rtx_children (r=0x97bd40)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3  0x120782418 in ggc_mark_rtx_children (r=0x97bd80)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#4  0x120782418 in ggc_mark_rtx_children (r=0x976680)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#5  0x120782418 in ggc_mark_rtx_children (r=0x1511980)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#6  0x120782418 in ggc_mark_rtx_children (r=0x97e800)
    at ../../egcs-19991110/gcc/ggc-common.c:297
...
#3388 0x120782418 in ggc_mark_rtx_children (r=0xada900)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3389 0x120782418 in ggc_mark_rtx_children (r=0xada940)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3390 0x120782418 in ggc_mark_rtx_children (r=0xada980)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3391 0x120782418 in ggc_mark_rtx_children (r=0xada9c0)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3392 0x120782418 in ggc_mark_rtx_children (r=0xadaa00)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3393 0x120782418 in ggc_mark_rtx_children (r=0xadaa40)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3394 0x120782418 in ggc_mark_rtx_children (r=0xadaa80)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3395 0x120782418 in ggc_mark_rtx_children (r=0xadaac0)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3396 0x120782418 in ggc_mark_rtx_children (r=0xadabc0)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3397 0x120782418 in ggc_mark_rtx_children (r=0xadcb80)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3398 0x120782418 in ggc_mark_rtx_children (r=0xadcc00)
    at ../../egcs-19991110/gcc/ggc-common.c:297
#3399 0x120782418 in ggc_mark_rtx_children (r=0xadcc40)

(gdb) l
295     #if HOST_BITS_PER_PTR <= 32
296       base = &G.lookup[0];
297     #else
298       page_table table = G.lookup;
299       size_t high_bits = (size_t) p & ~ (size_t) 0xffffffff;
300       while (1)
301         {
302           if (table == NULL)
303             return 0;
304           if (table->high_bits == high_bits)
(gdb) l
305             break;
306           table = table->next;
307         }
308       base = &table->table[0];
309     #endif
310    
311       /* Extract the level 1 and 2 indicies.  */
312       L1 = LOOKUP_L1 (p);
313       L2 = LOOKUP_L2 (p);
314    
(gdb) info reg
v0             0x0      0
t0             0x97bc80 9944192
t1             0x10     16
t2             0x97bd00 9944320
t3             0x1d     29
t4             0x1      1
t5             0x12078229c      4839711388
t6             0x15200  86528
t7             0x0      0
s0             0x64b100 6598912
s1             0xc0000  786432
s2             0x1400503a0      5369037728
s3             0x3ffc0092750    4396973369168
s4             0x0      0
s5             0x14002c3c0      5368890304
fp             0x11fe00010      4829741072
a0             0x97bc80 9944192
a1             0x0      0
a2             0x0      0
a3             0x0      0
a4             0x30     48
a5             0x0      0
t8             0x0      0

t9             0x120787724      4839733028
t10            0x2000   8192
t11            0x1000   4096
ra             0x120786394      4839728020
t12            0x120782870      4839712880
at             0x3ff801959e4    4395900688868
gp             0x140050680      5369038464
sp             0x11fdfffd0      4829741008
zero           0x0      0
pc             0x12078719c      4839731612
vfp            0x11fe00050      4829741136
(gdb) p G
$1 = {pages = {0x0, 0x0, 0x14006b800, 0x1401cbe40, 0x1400a9800, 0x1401dec40,
    0x140134160, 0x1400d4940, 0x140095ac0, 0x0, 0x1400d4900,
    0x0 <repeats 53 times>}, page_tails = {0x0, 0x0, 0x14006b800, 0x1400e5c80,
    0x140086b80, 0x1400742c0, 0x1400898a0, 0x1400b2000, 0x140095b00, 0x0,
    0x1400d4900, 0x0 <repeats 53 times>}, lookup = 0x14006e000,
  pagesize = 8192, lg_pagesize = 13, allocated = 4233476,
  allocated_last_gc = 4194304, bytes_mapped = 22306816,
  context_depth = 0 '\000', free_pages = 0x0, debug_file = 0x3ffc00802d8}
(gdb) x/x $sp
0x11fdfffd0:    Error accessing memory address 0x11fdfffd0: Invalid argument.

ulimit -a output
core file size (blocks)     unlimited
data seg size (kbytes)      131072
file size (blocks)          unlimited
max memory size (kbytes)    119640
open files                  4096
pipe size (512 bytes)       8
stack size (kbytes)         2048
cpu time (seconds)          unlimited
max user processes          64
virtual memory (kbytes)     1048576


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