diff options
author | Jan Hubicka <jh@suse.cz> | 2011-01-23 00:45:45 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2011-01-22 23:45:45 +0000 |
commit | d09b58c48b3b99507ecbc547e8dae3059a55e27a (patch) | |
tree | e5c2da5fcf9ef71724c8fdcdc6ac13da6af83fc5 /gcc/lto-cgraph.c | |
parent | e8ff8c5ab821ec0867687fb46cb8d012c0d5b325 (diff) | |
download | gcc-d09b58c48b3b99507ecbc547e8dae3059a55e27a.tar.gz |
re PR target/47333 (g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as)
PR lto/47333
* g++.dg/lto/pr47333.C: New file.
* lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
From-SVN: r169137
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r-- | gcc/lto-cgraph.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c index 387e2b03e47..18bb83b8ad6 100644 --- a/gcc/lto-cgraph.c +++ b/gcc/lto-cgraph.c @@ -383,10 +383,6 @@ bool reachable_from_this_partition_p (struct cgraph_node *node, cgraph_node_set set) { struct cgraph_edge *e; - if (!node->analyzed) - return false; - if (node->global.inlined_to) - return false; for (e = node->callers; e; e = e->next_caller) if (cgraph_node_in_set_p (e->caller, set)) return true; |