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

Re: New libjava failures


Diego Novillo wrote:

> PR235.java:3: internal compiler error: in build_int_cst, at tree.c:493
> 
> I can't really see where now.  Cutting and pasting the command line from
> libjava.log is not working for me (the FE segfaults because it claims it
> can't find some .java class).

I can reproduce this with current mainline using the
technique in:

  http://gcc.gnu.org/ml/java/2004-06/msg00333.html

For the PR235.class file from the testsuite, I get the
following backtrace:

(gdb) bt
#0  build_int_cst (type=0xb75e13a0, low=1, hi=0)
    at /home/ranmath/src/gcc/gcc-20040820/gcc/tree.c:493
#1  0x080702be in make_class_data (type=0xb744c89c)
    at /home/ranmath/src/gcc/gcc-20040820/gcc/java/class.c:1765
#2  0x08070f97 in finish_class ()
    at /home/ranmath/src/gcc/gcc-20040820/gcc/java/class.c:1845
#3  0x080865dd in parse_class_file ()
    at /home/ranmath/src/gcc/gcc-20040820/gcc/java/jcf-parse.c:799
#4  0x08088b81 in java_parse_file (set_yydebug=0)
    at /home/ranmath/src/gcc/gcc-20040820/gcc/java/jcf-parse.c:1142
#5  0x082e7f40 in toplev_main (argc=3075004416, argv=0xbffff3d4)
    at /home/ranmath/src/gcc/gcc-20040820/gcc/toplev.c:981
#6  0xb74b1768 in __libc_start_main () from /lib/tls/libc.so.6
#7  0x08049ba1 in _start ()

HTH,
Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/


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