http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333
--- Comment #41 from Jan Hubicka <hubicka at ucw dot cz> --- > > I however do not see any chained weakrefs in the preprocessed file > > attached, so > > I am not quite convinced this can change anything. > > > > Can you, please, run it in debugger and take a look what is the assembler > > name > > ultimate_target is called for and what is its CHAIN_DECL? > > I can try if this is still beneficial given that mainline seems to work > fine. Just ignore this patch. I just tested and we can not chain weakrefs. I will check what patches has to go to 4.8 to fix the whole issue. I guess the silent miscopmilation is potentially dangerous, since it will just disable locking in LTO apps.... Honza > > Rainer > > -- > You are receiving this mail because: > You are on the CC list for the bug.