aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cgraph.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3f1a7e3..bf55665 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-29 Jan Hubicka <jh@suse.cz>
+
+ * cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes.
+
2010-05-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/44165
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 229f8a3..8c79168 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);