]> gcc.gnu.org Git - gcc.git/commitdiff
cgraphunit.c (cgraph_function_and_variable_visibility): Extern inline functions are...
authorJan Hubicka <jh@suse.cz>
Thu, 2 Jun 2005 20:33:04 +0000 (22:33 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 2 Jun 2005 20:33:04 +0000 (20:33 +0000)
* cgraphunit.c (cgraph_function_and_variable_visibility): Extern
inline functions are not local.

From-SVN: r100514

gcc/ChangeLog
gcc/cgraphunit.c

index bf6c5c1e06fbd5536e66bf36bb60048d2dbae056..bf4d2f93af21222dce75cb846f93002104ea67a8 100644 (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
index ee859f7167b7772145cb7c58a2f54fab511f9147..d9f3ed0ade487f4b3a639f441a5301ed0776409d 100644 (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)
This page took 0.075466 seconds and 5 git commands to generate.