http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46674
--- Comment #3 from Jie Zhang <jiez at gcc dot gnu.org> 2010-11-29 10:56:37 UTC --- If I revert this change, this bug will disappear. @@ -416,7 +415,7 @@ cgraph_remove_unreachable_nodes (bool be found = true; /* If so, we need to keep node in the callgraph. */ - if (found || node->needed) + if (found) { if (node->analyzed) {