http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625



--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-25 
13:28:13 UTC ---

The testcases are also fixed by



Index: gcc/lto-symtab.c

===================================================================

--- gcc/lto-symtab.c    (revision 191700)

+++ gcc/lto-symtab.c    (working copy)

@@ -629,7 +629,8 @@ lto_symtab_merge_cgraph_nodes_1 (symtab_



       if (!symtab_real_symbol_p (e))

        continue;

-      if (symtab_function_p (e))

+      if (symtab_function_p (e)

+         && !DECL_BUILT_IN (e->symbol.decl))

        lto_cgraph_replace_node (cgraph (e), cgraph (prevailing));

       if (symtab_variable_p (e))

        lto_varpool_replace_node (varpool (e), varpool (prevailing));



now testing that instead of the symtab.c hunks.

Reply via email to