This is the mail archive of the gcc-bugs@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]

[Bug lto/47333] [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333

--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-22 22:10:08 UTC ---
testing the following patch for pasto in reachable_from_this_partition_p

Index: lto-cgraph.c
===================================================================
--- lto-cgraph.c        (revision 168831)
+++ lto-cgraph.c        (working copy)
@@ -383,10 +383,6 @@ bool
 reachable_from_this_partition_p (struct cgraph_node *node, cgraph_node_set
set)
 {
   struct cgraph_edge *e;
-  if (!node->analyzed)
-    return false;
-  if (node->global.inlined_to)
-    return false;
   for (e = node->callers; e; e = e->next_caller)
     if (cgraph_node_in_set_p (e->caller, set))
       return true;


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