aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cgraphunit.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5182b34..1ee5d8e 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): Fix typo in
+ previous patch.
+
2005-06-02 Diego Novillo <dnovillo@redhat.com>
PR 21582
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)
{