From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29740 invoked by alias); 8 Dec 2011 19:13:17 -0000 Received: (qmail 29715 invoked by uid 22791); 8 Dec 2011 19:13:17 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Thu, 08 Dec 2011 19:13:05 +0000 From: "jojelino at gmail dot com" To: java-prs@gcc.gnu.org Subject: [Bug libgcj/50053] [4.7 regression] jc1 doesn't emit static initializer or initializer code for super class without -findirect-dispatch. Date: Thu, 08 Dec 2011 19:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcj X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jojelino at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Summary Message-ID: 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 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2011-q4/txt/msg00022.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50053 gee changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.7 regression] SIGSEGV in |[4.7 regression] jc1 |natClass.cc:651 |doesn't emit static | |initializer or initializer | |code for super class | |without | |-findirect-dispatch. --- Comment #9 from gee 2011-12-08 19:12:48 UTC --- ;; Function () (_ZN3gnu3gcj7convert10Input_UTF8C1Ev, funcdef_no=47, decl_uid=4320, cgraph_uid=94) () (struct gnu.gcj.convert.Input_UTF8 * this) { : # DEBUG D.4331 => &gnu.gcj.convert.Input_UTF8.class$$ # DEBUG D.4333 => &_CD_gnu_gcj_convert_Input_UTF8 # DEBUG D.4335 => this_3(D) # DEBUG this => this_3(D) # DEBUG D.10917 => &gnu.gcj.convert.BytesToUnicode.class$$ # DEBUG D.10918 => &_CD_gnu_gcj_convert_BytesToUnicode # DEBUG D.10919 => this_3(D) # DEBUG this => this_3(D) # DEBUG D.10911 => &gnu.gcj.convert.IOConverter.class$$ # DEBUG D.10921 => &_CD_gnu_gcj_convert_IOConverter # DEBUG D.10913 => this_3(D) (this_3(D)); # DEBUG D.4339 => this_3(D) this_3(D)->partial = 0; # DEBUG D.4342 => this_3(D) this_3(D)->partial_bytes_expected = 0; return; } we can see there isn't any code for {static} initializer of super classes, isn't it design flaw?