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 > sell...@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 sell...@imgtec.com