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
This commit is contained in:
Jan Hubicka 2005-06-02 20:35:59 +02:00 committed by Jan Hubicka
parent 462508dd7e
commit 04b0eed045
2 changed files with 6 additions and 1 deletions

View 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

View 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)
{