This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java 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]

[Bug java/5537] Error compiling simple bytecode with jsr


------- Additional Comments From rmathew at gcc dot gnu dot org  2005-01-10 11:26 -------
Now that the BC-ABI work has been merged, the testcase no longer
gives an error when compiled with "-findirect-dispatch".

However, it ICEs when compiled without!

Relevant info:

Program received signal SIGSEGV, Segmentation fault.
verify_jvm_instructions (jcf=0xb75f5500, byte_ops=0x87adcb4 "¨", length=13)
    at /home/ranmath/src/gcc/gcc-20050110/gcc/java/verify.c:712
712             if (TREE_CODE (tmp) != TREE_LIST)
(gdb) bt
#0  verify_jvm_instructions (jcf=0xb75f5500, byte_ops=0x87adcb4 "¨", length=13)
    at /home/ranmath/src/gcc/gcc-20050110/gcc/java/verify.c:712
#1  0x0807de9d in expand_byte_code (jcf=0xb75f5500, method=0x87a85f8)
    at /home/ranmath/src/gcc/gcc-20050110/gcc/java/expr.c:2960
#2  0x0808c774 in parse_class_file ()
    at /home/ranmath/src/gcc/gcc-20050110/gcc/java/jcf-parse.c:919
#3  0x0808ec8a in java_parse_file (set_yydebug=0)
    at /home/ranmath/src/gcc/gcc-20050110/gcc/java/jcf-parse.c:1284
#4  0x082e03a0 in toplev_main (argc=142247416, argv=0xbffface4)
    at /home/ranmath/src/gcc/gcc-20050110/gcc/toplev.c:996
#5  0x0038579d in __libc_start_main () from /lib/tls/libc.so.6
#6  0x08049b71 in _start ()



-- 


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


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