From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15473 invoked by alias); 3 May 2011 10:55:56 -0000 Received: (qmail 15462 invoked by uid 22791); 3 May 2011 10:55:55 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 May 2011 10:55:40 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 668959AC83F; Tue, 3 May 2011 12:55:38 +0200 (CEST) Date: Tue, 03 May 2011 10:55:00 -0000 From: Jan Hubicka To: Xinliang David Li Cc: GCC Patches , Jan Hubicka Subject: Re: [google]: initialize language field for clone function struct Message-ID: <20110503105537.GA26000@kam.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg00156.txt.bz2 > Is this one ok? Hi, we did quite some work on removing a langhooks for LTO, where they become quite impossible So I would like to know what testcase causes the problem and why. Honza > > David > > On Fri, Apr 29, 2011 at 4:38 PM, Xinliang David Li wrote: > > During function cloning, the language field of the src func is not > > copied. This can lead to null dereference when gcc calls into langhook > > functions.  Unfortunately, I lost track of the test case. > > > > Ok for trunk ? > > > > Thanks, > > > > David > > > > > > 2011-04-29  Xinliang David Li   > > > >        * tree-inline.c (ininitialize_cfun): Initialize > >        language field for clone cfun. > >