On 27 February 2015 at 21:49, Jan Hubicka <hubi...@ucw.cz> wrote:
>>
>> ../sysdeps/gnu/siglist.c:72:1: internal compiler error: in 
>> address_matters_p, at symtab.c:1908
>>  versioned_symbol (libc, __new_sys_sigabbrev, sys_sigabbrev, GLIBC_2_3_3);
>>  ^
>> 0x66a080 symtab_node::address_matters_p()
>>         /scratch/sellcey/repos/bootstrap/src/gcc/gcc/symtab.c:1908
>> 0xe7cbe5 ipa_icf::sem_variable::merge(ipa_icf::sem_item*)
>>         /scratch/sellcey/repos/bootstrap/src/gcc/gcc/ipa-icf.c:1443
>
> Indeed, the ipa-icf should not try to analyze aliases - just prove ekvialence 
> of
> definitions they are attached to.  It already does that for functions (bit by 
> accident;
> it gives up when there is no gimple body), but it does not do that for 
> variables because
> it gets into ctor_for_folding. For that reason it sometimes decides to try to 
> make two
> variable aliases alias of each other that is not a good idea, because of 
> possible creation
> of loops.
>
> I am just discussing with Martin the fix.
>
> Honza

For the record, I have noticed similar errors on ARM and AArch64
targets, when building glibc.

Christophe.

Reply via email to