cgraphunit.c (cgraph_function_and_variable_visibility): Extern inline functions are not local.

* cgraphunit.c (cgraph_function_and_variable_visibility): Extern
	inline functions are not local.

From-SVN: r100514
This commit is contained in:
Jan Hubicka 2005-06-02 22:33:04 +02:00 committed by Jan Hubicka
parent 84c76d40cb
commit e2089d725e
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-06-02 Jan Hubicka <jh@suse.cz>
* cgraphunit.c (cgraph_function_and_variable_visibility): Extern
inline functions are not local.
2005-06-02 Kazu Hirata <kazu@codesourcery.com>
* gimplify.c (gimplify_ctx): Change the type of case_labels to

View File

@ -1048,6 +1048,7 @@ cgraph_function_and_variable_visibility (void)
node->local.externally_visible = 1;
node->local.local = (!node->needed
&& node->analyzed
&& !DECL_EXTERNAL (node->decl)
&& !node->local.externally_visible);
}
for (vnode = cgraph_varpool_nodes_queue; vnode; vnode = vnode->next_needed)