diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-22 23:45:45 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-22 23:45:45 +0000 |
commit | efa5dc14c80190d02c68193aedd7cb916a63cc3f (patch) | |
tree | e5c2da5fcf9ef71724c8fdcdc6ac13da6af83fc5 /gcc/lto-cgraph.c | |
parent | dcfc8dc0c59396abc36f7645c80434082e3d3fc9 (diff) | |
download | gcc-efa5dc14c80190d02c68193aedd7cb916a63cc3f.tar.gz |
PR lto/47333
* g++.dg/lto/pr47333.C: New file.
* lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169137 138bc75d-0d04-0410-961f-82ee72b054a4
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; |