Re: Fix i386 wrong code issues introduced by the local flag fix

2015-02-11 Thread Jan Hubicka
Hi, this patch fixes ICE when building firefox reported by Markus: > > lto1: internal compiler error: Segmentation fault > 0x106e1feb crash_signal > ../../gcc/gcc/toplev.c:383 > 0x10589cd4 lto_get_decl_name_mapping(lto_file_decl_data*, char const*) > ../../gcc/gcc/lto-section-in.c:

Fix i386 wrong code issues introduced by the local flag fix

2015-02-10 Thread Jan Hubicka
Hi, this segfault in c-c++-common/torture/builtin-arith-overflow-12.c is caused by fact that we split ltrans units separating call to alias of local function and its target. Because LTO partitioning turns aliases in boundaries into normal symbols, we end up checking alias for can_change_signature_