diff options
author | Jan Hubicka <jh@suse.cz> | 2005-06-09 18:21:36 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-06-09 16:21:36 +0000 |
commit | 30be951ac7b465e1f10da0f70744364a8e678366 (patch) | |
tree | 2fd919060d8ecfb55a3a393c028c7ba1f01c5856 /gcc/passes.c | |
parent | 2ffa9a0ce504d59abfa34e2b92d0f3e1aa3f6218 (diff) | |
download | gcc-30be951ac7b465e1f10da0f70744364a8e678366.zip gcc-30be951ac7b465e1f10da0f70744364a8e678366.tar.gz gcc-30be951ac7b465e1f10da0f70744364a8e678366.tar.bz2 |
cgraphunit.c (cgraph_create_edges): Do not walk BLOCK; finalize local statics when doing unit-at-a-time.
* 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
node.
From-SVN: r100802
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 369a2a5..93126b0 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -227,7 +227,7 @@ rest_of_decl_compilation (tree decl, && !DECL_EXTERNAL (decl)) { if (flag_unit_at_a_time && !cgraph_global_info_ready - && TREE_CODE (decl) != FUNCTION_DECL && top_level) + && TREE_CODE (decl) != FUNCTION_DECL) cgraph_varpool_finalize_decl (decl); else assemble_variable (decl, top_level, at_end, 0); |