diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-12 16:21:59 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-12 16:21:59 +0000 |
commit | 22671757edfaba8b55165cda544c997b1f0f60fb (patch) | |
tree | fc25b09495438c43fe8c72dd5a37344a2338dc1a /gcc/cgraph.h | |
parent | d405c5a4ca7973b1fef5ce1d15ee058781e684a6 (diff) | |
download | gcc-22671757edfaba8b55165cda544c997b1f0f60fb.tar.gz |
* cgraph.h (varpool_node_name): Declare.
* cgraphunit.c (process_function_and_variable_attributes): Set force_output
flag on used variables.
* ipa.c (function_and_variable_visibility): Dump externally visible and needed
variables.
* varpool.c (varpool_node_name): Export.
(decide_is_variable_needed): Check COMDAT for externally visible vars;
ignore needed flag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154121 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 016ce9de14c..46fee67e6e3 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -531,6 +531,7 @@ bool varpool_assemble_decl (struct varpool_node *node); bool varpool_analyze_pending_decls (void); void varpool_remove_unreferenced_decls (void); void varpool_empty_needed_queue (void); +const char * varpool_node_name (struct varpool_node *node); /* Walk all reachable static variables. */ #define FOR_EACH_STATIC_VARIABLE(node) \ |