diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf6c5c1e06f..bf4d2f93af2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-06-02 Jan Hubicka + + * cgraphunit.c (cgraph_function_and_variable_visibility): Extern + inline functions are not local. + 2005-06-02 Kazu Hirata * gimplify.c (gimplify_ctx): Change the type of case_labels to diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index ee859f7167b..d9f3ed0ade4 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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)