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

--- Comment #13 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-10 
15:48:51 UTC ---
The original problem was fixed for GCC 4.6 with

2010-09-24  Jan Hubicka  <j...@suse.cz>

        * lto-symtab.c (lto_symtab_entry_def): Add guessed field.
        (lto_symtab_resolve_symbols): Set it.
...
        * tree.h (DECL_REPLACEABLE_P): Remove.
        (decl_replaceable_p, decl_binds_to_current_def_p): Declare.
...
        * varasm.c (resolution_to_local_definition_p, resolution_local_p): New
        static functions.
        (default_binds_local_p_1): Use resolutoin info.
        (decl_binds_to_current_def_p, decl_replaceable_p): New functions.
...

thus the patch can be reverted on the trunk (I'll do that after a round
of testing).

Reply via email to