aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-06-02 20:35:59 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-06-02 18:35:59 +0000
commit04b0eed045fd952d1e8889dd06f07563ce16160b (patch)
tree6e8361482c2439f67a0670b1188882e94bc3d366 /gcc/cgraphunit.c
parent462508dd7e13be8c480f49a684d31b19ac972794 (diff)
downloadgcc-04b0eed045fd952d1e8889dd06f07563ce16160b.zip
gcc-04b0eed045fd952d1e8889dd06f07563ce16160b.tar.gz
gcc-04b0eed045fd952d1e8889dd06f07563ce16160b.tar.bz2
cgraphunit.c (cgraph_function_and_variable_visibility): Fix typo in previous patch.
* cgraphunit.c (cgraph_function_and_variable_visibility): Fix typo in previous patch. From-SVN: r100506
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index b10679d..7f8a96d 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -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)
{