From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27725 invoked by alias); 20 Jun 2017 13:20:59 -0000 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 Received: (qmail 27704 invoked by uid 89); 20 Jun 2017 13:20:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Hx-languages-length:1157 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Jun 2017 13:20:58 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EE593344 for ; Tue, 20 Jun 2017 06:20:56 -0700 (PDT) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 90ACB3F587 for ; Tue, 20 Jun 2017 06:20:56 -0700 (PDT) References: <20170618195601.GG30427@atrey.karlin.mff.cuni.cz> Subject: [arm-embedded] [PATCH, GCC/LTO, ping] Fix PR69866: LTO with def for weak alias in regular object file To: "gcc-patches@gcc.gnu.org" From: Thomas Preudhomme X-Forwarded-Message-Id: <20170618195601.GG30427@atrey.karlin.mff.cuni.cz> Message-ID: <0e6bddf5-16e5-7f95-78fb-75b07d2c0e92@foss.arm.com> Date: Tue, 20 Jun 2017 13:20:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170618195601.GG30427@atrey.karlin.mff.cuni.cz> Content-Type: multipart/mixed; boundary="------------F825F8B746002AAE380A09F3" X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg01455.txt.bz2 This is a multi-part message in MIME format. --------------F825F8B746002AAE380A09F3 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-length: 943 Hi, We have decided to apply the referenced fix (r249352) to the ARM/embedded-6-branch along with its initial commit (r249224) to fix an ICE with LTO and aliases. Fix PR69866 2017-06-20 Thomas Preud'homme Backport from mainline 2017-06-15 Jan Hubicka Thomas Preud'homme gcc/ PR lto/69866 * lto-symtab.c (lto_symtab_merge_symbols): Drop useless definitions that resolved externally. 2017-06-15 Thomas Preud'homme gcc/testsuite/ PR lto/69866 * gcc.dg/lto/pr69866_0.c: New test. * gcc.dg/lto/pr69866_1.c: Likewise. Backport from mainline 2017-06-18 Jan Hubicka gcc/testsuite/ * gcc.dg/lto/pr69866_0.c: This test needs alias. Best regards, Thomas --------------F825F8B746002AAE380A09F3 Content-Type: message/rfc822; name="Re: [PATCH, GCC/LTO, ping] Fix PR69866: LTO with def for weak alias in regular object file.eml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="Re: [PATCH, GCC/LTO, ping] Fix PR69866: LTO with def for wea"; filename*1="k alias in regular object file.eml" Content-length: 3514 Return-Path: X-Original-To: thomas.preudhomme@foss.arm.com Delivered-To: thomas.preudhomme@foss.arm.com Received: from foss.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTP id 9C0433F557 for ; Sun, 18 Jun 2017 12:56:17 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7FFB4344 for ; Sun, 18 Jun 2017 12:56:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; q=dns; s=default; b=UOtUBAYqjNGP+iW0e ht0i1/t0Fmb81YlDStLLFC3GiqLBvzDUxa6EZeiMr0AaRr2aignnZw3fMKWlIAHm KhJfqkCrX9DPs2xsmAeNgEFRv8BgPMLt7wL5anDg3wPpoFBXo5nyyYYtAWw9ZdCN 4xjycn8VzJACWSO7UufpvzN9Ms= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=default; bh=ncJYauqSv+3NZErFHsP7P0x B7bM=; b=tMnDsjwmHiU25aDAhuoqg4ix96nnvuLzl4Jj5F54+wQ1V1sqdV2Hmd6 akUdGub5wwmK8X/r0JfVBXBeAKDcDmQTZF9iwJm11MmBIGzAayl50VBnDE+vPXGf IVMozihO/blBT4KTujdg5Jc7pdOodSPD0fFNLkLOEyageK05kX6k= Received: (qmail 9847 invoked by alias); 18 Jun 2017 19:56:01 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 9810 invoked by uid 89); 18 Jun 2017 19:56:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-HELO: atrey.karlin.mff.cuni.cz Received: from atrey.karlin.mff.cuni.cz (HELO atrey.karlin.mff.cuni.cz) (195.113.26.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 18 Jun 2017 19:55:59 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id 1498A81A7E; Sun, 18 Jun 2017 21:56:01 +0200 (CEST) Date: Sun, 18 Jun 2017 21:56:01 +0200 From: Jan Hubicka To: Dominique d'Humi??res Cc: hubicka Jan , gcc-patches Subject: Re: [PATCH, GCC/LTO, ping] Fix PR69866: LTO with def for weak alias in regular object file Message-ID: <20170618195601.GG30427@atrey.karlin.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Content-length: 282 > The new test fails on darwin with the usual > > FAIL: gcc.dg/lto/pr69866 c_lto_pr69866_0.o-c_lto_pr69866_1.o link, -O0 -flto -flto-partition=none > > IMO it requires a > > /* { dg-require-alias "" } */ Yep,I will add it shortly. Honza > > directive. > > TIA > > Dominique --------------F825F8B746002AAE380A09F3--