From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54411 invoked by alias); 27 Feb 2015 18:04:52 -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 54389 invoked by uid 89); 27 Feb 2015 18:04:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Feb 2015 18:04:48 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 6480F1132B353; Fri, 27 Feb 2015 18:04:43 +0000 (GMT) Received: from BAMAIL02.ba.imgtec.org (10.20.40.28) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 27 Feb 2015 18:04:45 +0000 Received: from [10.20.3.58] (10.20.3.58) by bamail02.ba.imgtec.org (10.20.40.28) with Microsoft SMTP Server (TLS) id 14.3.174.1; Fri, 27 Feb 2015 10:04:43 -0800 Message-ID: <1425060283.27855.245.camel@ubuntu-sellcey> Subject: Re: ipa-icf::merge TLC From: Steve Ellcey Reply-To: To: Jan Hubicka CC: Jack Howarth , GCC Patches , , Jakub Jelinek Date: Fri, 27 Feb 2015 18:56:00 -0000 In-Reply-To: <1425058393.27855.242.camel@ubuntu-sellcey> References: <20150227021047.GA20437@kam.mff.cuni.cz> <1425058393.27855.242.camel@ubuntu-sellcey> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg01719.txt.bz2 On Fri, 2015-02-27 at 09:33 -0800, Steve Ellcey wrote: > On Fri, 2015-02-27 at 03:10 +0100, Jan Hubicka wrote: > > > Bootstrapped/regtested x86_64-linux, comitted. > > > > Honza > > * ipa-icf.c (symbol_compare_collection::symbol_compare_colleciton): > > Use address_matters_p. > > I think this patch is causing an ICE while building glibc on MIPS. I am > building a toolchain for mips-mti-linux-gnu and when compiling > sysdeps/gnu/siglist.c from glibc for mips64r2 (N32 ABI) I get the > following ICE. > > I will try to create a preprocessed source file for this but I wanted > to report it first to see if anyone else is seeing it on other > platforms. > > Steve Ellcey > sellcey@imgtec.com Following up to my own email. I can reproduce this with the following cut down test case if I compile with '-O2 -fmerge-all-constants' on MIPS. extern const char *const _sys_siglist[128]; const char *const __new_sys_siglist[128] = { }; extern __typeof (_sys_siglist) __EI__sys_siglist __attribute__((alias ("" "__new_sys_siglist"))); extern __typeof (__new_sys_siglist) _new_sys_siglist __attribute__ ((alias ("__new_sys_siglist"))); Steve Ellcey sellcey@imgtec.com