This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Avoid optimized out references to appear in lto symbol table


On Sun, Oct 2, 2011 at 4:33 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
> ? ? ? ?* cgraphunit.c (ipa_passes): Remove unrechable nodes.
> ? ? ? ?* lto-streamer-out.c (produce_symtab): Skip unused extern declarations.
> ? ? ? ?* ipa.c (cgraph_remove_unreachable_nodes): Do not assume that external
> ? ? ? ?functions are reachable when address is taken.
> ? ? ? ?* ipa-inline-analysis.c (reset_inline_edge_summary): New
>
> ? ? ? ?* gcc.dg/ipa/ctor-empty-1.c: Update dump file.

> Index: tree-sra.c
> ===================================================================
> *** tree-sra.c ?(revision 179423)
> --- tree-sra.c ?(working copy)
> *************** modify_function (struct cgraph_node *nod
> *** 4622,4627 ****
> --- 4622,4628 ----
> ? ?VEC (cgraph_edge_p, heap) * redirect_callers = collect_callers_of_node (node);
>
> ? ?rebuild_cgraph_edges ();
> + ? free_dominance_info (CDI_DOMINATORS);
> ? ?pop_cfun ();
> ? ?current_function_decl = NULL_TREE;


Extra change to tree-sra, not in ChangeLog. Is this hunk needed? Or
unrelated fix for something else?

Ciao!
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]