diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-30 00:04:53 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-30 00:04:53 +0000 |
commit | f941b9b338d7b9ed551c1ab23e18400bb924c459 (patch) | |
tree | d84f85674e46672cfc78aff597017ee46b2ad73c /gcc/cgraph.c | |
parent | 605a7eb7c508dbefee3617fbdf8511842c84be83 (diff) | |
download | gcc-f941b9b338d7b9ed551c1ab23e18400bb924c459.tar.gz |
* cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160040 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 229f8a30e99..8c7916865fe 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1659,7 +1659,8 @@ cgraph_mark_reachable_node (struct cgraph_node *node) /* Verify that function does not appear to be needed out of blue during the optimization process. This can happen for extern inlines when bodies was removed after inlining. */ - gcc_assert ((node->analyzed || DECL_EXTERNAL (node->decl))); + gcc_assert ((node->analyzed || node->in_other_partition + || DECL_EXTERNAL (node->decl))); } else notice_global_symbol (node->decl); |