]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cgraphunit.c (cgraph_function_and_variable_visibility): Fix typo in previous patch.
authorJan Hubicka <jh@suse.cz>
Thu, 2 Jun 2005 18:35:59 +0000 (20:35 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 2 Jun 2005 18:35:59 +0000 (18:35 +0000)
* cgraphunit.c (cgraph_function_and_variable_visibility): Fix typo in
previous patch.

From-SVN: r100506

gcc/ChangeLog
gcc/cgraphunit.c

index 5182b3443d1d596b36c2e4123af43c8753c6edbe..1ee5d8ea9fc0847464531f5b79923df54f5ee2c8 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-02  Jan Hubicka  <jh@suse.cz>
+
+       * cgraphunit.c (cgraph_function_and_variable_visibility): Fix typo in
+       previous patch.
+
 2005-06-02  Diego Novillo  <dnovillo@redhat.com>
 
        PR 21582
index b10679d59ee3d2b411e652f3a8637f684468fcaa..7f8a96d36f6e465d91ee0776603e52176a95941b 100644 (file)
@@ -1046,7 +1046,7 @@ cgraph_function_and_variable_visibility (void)
        node->local.externally_visible = 1;
       node->local.local = (!node->needed
                           && node->analyzed
-                          && node->local.externally_visible);
+                          && !node->local.externally_visible);
     }
   for (vnode = cgraph_varpool_nodes_queue; vnode; vnode = vnode->next_needed)
     {