------- Comment #2 from jakub at gcc dot gnu dot org 2010-01-05 21:10 ------- I guess cgraph_make_node_local needs to update all same_body aliases (in particular clear DECL_WEAK which etc. which made the alias externally visible).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42625