http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57366 --- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Thanks. Obviously RTL world translates through the weakrefs w/o LTO but not with LTO. I will look into it.