ipa.c (process_references): Enqueue all referenced nodes; mark as reachable only...
commited62e0d9b7f91e65f9c7c3845d0d5c8dce600889
authorJan Hubicka <jh@suse.cz>
Tue, 26 Oct 2010 22:42:53 +0000 (27 00:42 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 26 Oct 2010 22:42:53 +0000 (26 22:42 +0000)
tree720a1c9202abf0413ef0563ab046a20ae17bcc6a
parent8c3800373fa39db275e4bea68fa775a0defb3daf
ipa.c (process_references): Enqueue all referenced nodes; mark as reachable only non-external nodes.

* ipa.c (process_references): Enqueue all referenced nodes;
mark as reachable only non-external nodes.
(cgraph_remove_unreachable_nodes): All referenced nodes should
be enqueued; remove bogues node->needed check.

From-SVN: r165990
gcc/ChangeLog
gcc/ipa.c