Hi,
this patch fixes one extra place where we need to consider partial cgraphs
and enables firefox to build again.

Comitted as obvious,
Honza
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 201430)
+++ ChangeLog   (working copy)
@@ -1,3 +1,8 @@
+2013-08-01  Jan Hubicka  <j...@suse.cz>
+
+       * ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are
+       not needed.
+
 2013-08-01  Uros Bizjak  <ubiz...@gmail.com>
 
        * config/i386/i386.h (MAYBE_NON_Q_CLASS_P): New.
Index: ipa.c
===================================================================
--- ipa.c       (revision 201430)
+++ ipa.c       (working copy)
@@ -239,6 +239,7 @@ symtab_remove_unreachable_nodes (bool be
       node->used_as_abstract_origin = false;
       if (node->symbol.definition
          && !node->global.inlined_to
+         && !node->symbol.in_other_partition
          && (!cgraph_can_remove_if_no_direct_calls_and_refs_p (node)
              /* Keep around virtual functions for possible devirtualization.  
*/
              || (before_inlining_p

Reply via email to