public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "baryluk at smp dot if.uj.edu.pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/46059] internel compiler error when compiling libjava/gnu/awt/LightweightRedirector.java with -finline-functions
Date: Sun, 17 Oct 2010 19:42:00 -0000	[thread overview]
Message-ID: <20101017194200.nZWSK1_8OQaGAE_kgUUToMMfKW0QGXSira_f_FrC8yA@z> (raw)
In-Reply-To: <bug-46059-4@http.gcc.gnu.org/bugzilla/>

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	other threads:[~2010-10-17 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-17 18:19 [Bug bootstrap/46059] New: " baryluk at smp dot if.uj.edu.pl
2010-10-17 19:42 ` baryluk at smp dot if.uj.edu.pl [this message]
2010-10-21 23:06 ` [Bug java/46059] " baryluk at smp dot if.uj.edu.pl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101017194200.nZWSK1_8OQaGAE_kgUUToMMfKW0QGXSira_f_FrC8yA@z \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).