Recent alpha regression

Tom Tromey tromey@redhat.com
Mon Jan 29 10:55:00 GMT 2001


I'm building the latest cvs gcc on this box:

    castro. uname -a
    Linux castro.cygnus.com 2.2.13-0.9smp #1 SMP Thu Dec 9 16:27:46 EST 1999 alpha unknown


I'm building with java, of course.

This gcc now fails to compile libgcj.  I could compile libgcj a few
days ago.

Here's the failure:

/horton/tromey/java/build/gcc/gcj -B/horton/tromey/java/build/alphaev6-unknown-linux-gnu/libjava/ -B/horton/tromey/java/build/gcc/ --encoding=UTF-8 -fassume-compiled -fclasspath=/horton/tromey/java/build/alphaev6-unknown-linux-gnu/libjava -L/horton/tromey/java/build/alphaev6-unknown-linux-gnu/libjava -g -mieee -MD -MT java/util/SimpleTimeZone.lo -MF java/util/SimpleTimeZone.d -c ../../../gcc/libjava/java/util/SimpleTimeZone.java -fPIC -o java/util/.libs/SimpleTimeZone.o
../../../gcc/libjava/java/util/SimpleTimeZone.java: In class `java.util.SimpleTimeZone':
../../../gcc/libjava/java/util/SimpleTimeZone.java: In method `java.util.SimpleTimeZone.isBefore(int,int,int,int,int,int,int,int,int,int)':
../../../gcc/libjava/java/util/SimpleTimeZone.java:570: Internal error: Segmentation fault.


Here's a stack trace of the failure:

Program received signal SIGSEGV, Segmentation fault.
0x1200ff200 in estimate_case_costs (node=0x12080ae30)
    at ../../gcc/gcc/stmt.c:5806
5806          if ((INT_CST_LT (n->low, min_ascii)) || INT_CST_LT (max_ascii, n->high))
(gdb) bt
#0  0x1200ff200 in estimate_case_costs (node=0x12080ae30)
    at ../../gcc/gcc/stmt.c:5806
#1  0x1200fe128 in expand_end_case (orig_index=0x200000ca9c0)
    at ../../gcc/gcc/stmt.c:5531
#2  0x12006d840 in java_lang_expand_expr (exp=0x200000c9540, 
    target=0x2000049e680, tmode=Cannot retrieve value from floating point register
) at ../../gcc/gcc/java/expr.c:2475
#3  0x1201232fc in expand_expr (exp=0x200000c9540, target=0x0, tmode=VOIDmode, 
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:8711
#4  0x1200f5494 in expand_expr_stmt (exp=0x200000c9540)
    at ../../gcc/gcc/stmt.c:1944
#5  0x1201236d8 in expand_expr (exp=0x20000491ac0, target=0x0, tmode=VOIDmode, 
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:6495
#6  0x1201239d8 in expand_expr (exp=0x200000cd500, target=0x0, tmode=VOIDmode, 
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:6303
#7  0x12006da30 in java_lang_expand_expr (exp=0x12037cf68, 
    target=0x2000049e680, tmode=Cannot retrieve value from floating point register
) at ../../gcc/gcc/java/expr.c:2440


(at this point gdb died, so I don't know about higher up the stack)

Tom


More information about the Gcc-bugs mailing list