From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15834 invoked by alias); 17 Oct 2010 19:42:45 -0000 Received: (qmail 15824 invoked by uid 22791); 17 Oct 2010 19:42:43 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KAM_STOCKTIP,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Oct 2010 19:42:38 +0000 From: "baryluk at smp dot if.uj.edu.pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/46059] internel compiler error when compiling libjava/gnu/awt/LightweightRedirector.java with -finline-functions X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: baryluk at smp dot if.uj.edu.pl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 17 Oct 2010 19:42:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg01418.txt.bz2 Message-ID: <20101017194200.nZWSK1_8OQaGAE_kgUUToMMfKW0QGXSira_f_FrC8yA@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46059 --- Comment #1 from Witold Baryluk 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 :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)