diff options
author | Jan Hubicka <jh@suse.cz> | 2005-06-02 22:33:04 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-06-02 20:33:04 +0000 |
commit | e2089d725e78e1a3b34fc3051ad6c804659bc362 (patch) | |
tree | 9ef9c84c4f607f3f91c4ca2a65d06e9fc249ea98 /gcc | |
parent | 84c76d40cb01e478b20c284161178e55ef2afc57 (diff) | |
download | gcc-e2089d725e78e1a3b34fc3051ad6c804659bc362.zip gcc-e2089d725e78e1a3b34fc3051ad6c804659bc362.tar.gz gcc-e2089d725e78e1a3b34fc3051ad6c804659bc362.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf6c5c1..bf4d2f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index ee859f7..d9f3ed0 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) |