------- Comment #5 from hubicka at gcc dot gnu dot org  2009-12-11 11:30 -------
I am testing the attached patch.  We should not re-walk bodies of clones.  I
wonder if this makes struct-reorg useable?

Honza

Index: ipa-type-escape.c
===================================================================
--- ipa-type-escape.c   (revision 155138)
+++ ipa-type-escape.c   (working copy)
@@ -1984,7 +1984,7 @@ type_escape_execute (void)
      they may cause a type variable to escape.
   */
   for (node = cgraph_nodes; node; node = node->next)
-    if (node->analyzed)
+    if (node->analyzed && !node->clone_of)
       analyze_function (node);


-- 


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

Reply via email to