This is the mail archive of the
mailing list for the GCC project.
Re: Deal with local static same way as we deal with global static for IPA
On Thu, Jun 09, 2005 at 04:12:01PM +0200, Jan Hubicka wrote:
> * cgraphunit.c (cgraph_create_edges): Do not walk BLOCK; finalize
> local statics when doing unit-at-a-time.
> (cgraph_varpool_assemble_pending_decls): Output debug info.
> * dwarf2out.c (decls_for_scope): Skip local statics.
> (dwarf2out_decl): Handle local statics.
> * passes.c (rest_of_decl_compilation): Do not differentiate
> local and global statics in unit-at-a-time.
> * tree-inline.c (remap_decls): Put local static into
> unexpanded_vars_list rather than introducing duplicated VAR_DECL