From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30105 invoked by alias); 15 Oct 2014 17:12:18 -0000 Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org Received: (qmail 30096 invoked by uid 89); 15 Oct 2014 17:12:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f169.google.com Received: from mail-ie0-f169.google.com (HELO mail-ie0-f169.google.com) (209.85.223.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 15 Oct 2014 17:12:16 +0000 Received: by mail-ie0-f169.google.com with SMTP id tp5so1696358ieb.0 for ; Wed, 15 Oct 2014 10:12:14 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.107.162.16 with SMTP id l16mr4497359ioe.54.1413393133939; Wed, 15 Oct 2014 10:12:13 -0700 (PDT) Received: by 10.107.6.95 with HTTP; Wed, 15 Oct 2014 10:12:13 -0700 (PDT) In-Reply-To: <20141015165922.GX10376@tucnak.redhat.com> References: <543EA772.4070804@redhat.com> <20141015165922.GX10376@tucnak.redhat.com> Date: Wed, 15 Oct 2014 17:12:00 -0000 Message-ID: Subject: Re: [PATCH x86, java, PR63536] Fix java bootstrap for -mtune=intel/slm From: Evgeny Stupachenko To: Jakub Jelinek , java-patches@gcc.gnu.org Cc: Andrew Haley , "H.J. Lu" , Jeff Law , per@bothner.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2014-q4/txt/msg00019.txt.bz2 Updated ChangeLog: 2014-10-15 Evgeny Stupachenko PR target/63536 * lang.c (java_print_error_function): Add check on NULL function context. The function is: _Jv_global_static_constructor() It is compiler generated at jcf-parse.c (java_emit_static_constructor), line 1705. On Wed, Oct 15, 2014 at 8:59 PM, Jakub Jelinek wrote: > On Wed, Oct 15, 2014 at 05:57:22PM +0100, Andrew Haley wrote: >> On 10/15/2014 05:54 PM, Evgeny Stupachenko wrote: >> > The patch fixes java i686 bootstrap for -mtune=intel/slm. >> > >> > Recent changes triggered java to write a note on compilation for a >> > function without context. >> > >> > make check in progress >> > >> > Is it ok? >> >> I guess so, but I don't understand how any function ends up with a null >> DECL_CONTEXT. > > Yeah, I guess it would help if you would say what function it is exactly, > how it got created etc. Artificial function? > >> Nontheless, this must go to java-patches@gcc.gnu.org > > Also, java/ prefix shouldn't be in the ChangeLog, gcc/java/ directory has > its own ChangeLog. > > Jakub