diff options
author | Jan Hubicka <jh@suse.cz> | 2005-06-24 17:14:04 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-06-24 15:14:04 +0000 |
commit | ce91e74c187986865c3de8fbd871242183afa93d (patch) | |
tree | cb74c75feb0a3380d0f1a108528cdc35a05f7892 /gcc/cgraph.h | |
parent | 62765fb14a52c42422b31938deb5893ebe13e735 (diff) | |
download | gcc-ce91e74c187986865c3de8fbd871242183afa93d.zip gcc-ce91e74c187986865c3de8fbd871242183afa93d.tar.gz gcc-ce91e74c187986865c3de8fbd871242183afa93d.tar.bz2 |
tree-optimize.c (init_tree_optimization_passes): Fix flags of all_passes and all_ipa_passes.
* tree-optimize.c (init_tree_optimization_passes): Fix flags of
all_passes and all_ipa_passes.
* c-common.c: Include cgraph.h
(handle_externally_visible_attribute): New function.
(c_common_att): Add "externally_visible" attribute.
* cgraph.c (decide_is_variable_needed): Obey externally
visible flag.
(cgraph_varpool_finalize_decl): Avoid redundant checking.
* cgraph.h (struct cgraph_node): New flag externally_visible.
(decide_is_function_needed): Obey externally visible flag.
(cgraph_finalize_function): Avoid redundant checks.
(cgraph_function_and_variable_visibility): Bring symbols local
when asked for.
* common.opt (fwhole-program): New flag.
* doc/invoke.texi (-fwhole-program): Document.
From-SVN: r101295
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 9406e09..9b7306b 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -159,6 +159,8 @@ struct cgraph_node GTY((chain_next ("%h.next"), chain_prev ("%h.previous"))) bool analyzed; /* Set when function is scheduled to be assembled. */ bool output; + /* Set when function is visible by other units. */ + bool externally_visible; /* Set for aliases once they got through assemble_alias. */ bool alias; }; |