This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/47333] [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jan 2011 22:10:31 +0000
- Subject: [Bug lto/47333] [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2
- Auto-submitted: auto-generated
- References: <bug-47333-4@http.gcc.gnu.org/bugzilla/>
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;