This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix ltrans ICE seen while compiling Firefox


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  <jh@suse.cz>
+
+	* ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are
+	not needed.
+
 2013-08-01  Uros Bizjak  <ubizjak@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]