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

--- Comment #1 from Witold Baryluk <baryluk at smp dot if.uj.edu.pl> 2010-10-17 
19:42:33 UTC ---
Same version compiled with '-g -O2 -finline-functions', to have debuging
symbols.

(gdb) run
Starting program: /scratch/obiekty/gcc/jc1
/scratch/gcc-4.6-20101009/libjava/classpath/lib/gnu/awt/LightweightRedirector.class
-fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc
-fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase
LightweightRedirector.class -mtune=generic -march=pentiumpro -auxbase-strip
gnu/.libs/awt.o -g -O2 -Wno-deprecated -version -ffloat-store
-fomit-frame-pointer -fencoding=UTF-8 -fbootstrap-classes
-fsource-filename=/scratch/obiekty/i686-pc-linux-gnu/libjava/classpath/lib/classes
-fPIC -fbootclasspath=./:/scratch/gcc-4.6-20101009/libjava/classpath/lib/
-faux-classpath LightweightRedirector.zip -MD_ -MT gnu/awt.lo -MF gnu/awt.deps
-o LightweightRedirector.s
GNU Java (GCC) version 4.6.0 20101016 (experimental) (i686-pc-linux-gnu)
    compiled by GNU C version 4.6.0 20101016 (experimental), GMP version 4.3.2,
MPFR version 3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Java (GCC) version 4.6.0 20101016 (experimental) (i686-pc-linux-gnu)
    compiled by GNU C version 4.6.0 20101016 (experimental), GMP version 4.3.2,
MPFR version 3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Class path starts here:
    LightweightRedirector.zip/ (zip)
    ./ (system)
    /scratch/gcc-4.6-20101009/libjava/classpath/lib/ (system)
/scratch/gcc-4.6-20101009/libjava/gnu/awt/LightweightRedirector.java: In class
'gnu.awt.LightweightRedirector':
/scratch/gcc-4.6-20101009/libjava/gnu/awt/LightweightRedirector.java: In method
'gnu.awt.LightweightRedirector.getButtonNumber(java.awt.event.InputEvent)':
In file included from <built-in>:2:0:
/scratch/gcc-4.6-20101009/libjava/gnu/awt/LightweightRedirector.java:160:0:
error: verification failed at PC=12: branch out of range

Program received signal SIGSEGV, Segmentation fault.
0x080eba22 in merge_into (npc=111936440, from_state=0x8d2e9b8) at
/scratch/gcc-4.6-20101009/gcc/java/verify-impl.c:1415
1415      for (iter = vfr->states[npc]; iter != NULL; iter = iter->next)
(gdb) bt
#0  0x080eba22 in merge_into (npc=111936440, from_state=0x8d2e9b8) at
/scratch/gcc-4.6-20101009/gcc/java/verify-impl.c:1415
#1  0x080ee586 in push_jump () at
/scratch/gcc-4.6-20101009/gcc/java/verify-impl.c:1460
#2  verify_instructions_0 () at
/scratch/gcc-4.6-20101009/gcc/java/verify-impl.c:2867
#3  0x080f38f5 in verify_instructions (meth=0xbffff218) at
/scratch/gcc-4.6-20101009/gcc/java/verify-impl.c:3197
#4  verify_method (meth=0xbffff218) at
/scratch/gcc-4.6-20101009/gcc/java/verify-impl.c:3306
#5  0x080eaf4a in verify_jvm_instructions_new (jcf=0xb75ec000,
byte_ops=0x8cfcbdf "+\266", length=74) at
/scratch/gcc-4.6-20101009/gcc/java/verify-glue.c:498
#6  0x080e04f9 in expand_byte_code (jcf=0xb75ec000, method=0xb75ead00) at
/scratch/gcc-4.6-20101009/gcc/java/expr.c:3155
#7  0x080faa5c in parse_class_file () at
/scratch/gcc-4.6-20101009/gcc/java/jcf-parse.c:1658
#8  0x080fb325 in java_parse_file (set_yydebug=0) at
/scratch/gcc-4.6-20101009/gcc/java/jcf-parse.c:1970
#9  0x0841a076 in compile_file (argc=34, argv=0xbffff504) at
/scratch/gcc-4.6-20101009/gcc/toplev.c:919
#10 do_compile (argc=34, argv=0xbffff504) at
/scratch/gcc-4.6-20101009/gcc/toplev.c:2363
#11 toplev_main (argc=34, argv=0xbffff504) at
/scratch/gcc-4.6-20101009/gcc/toplev.c:2423
#12 0x08106deb in main (argc=34, argv=0xbffff504) at
/scratch/gcc-4.6-20101009/gcc/main.c:36
(gdb)

Reply via email to