------- Comment #6 from hjl dot tools at gmail dot com  2009-01-15 22:38 -------
This patch:

--- ./ipa-inline.c.foo  2009-01-02 11:06:18.000000000 -0800
+++ ./ipa-inline.c      2009-01-15 14:35:28.000000000 -0800
@@ -1412,7 +1412,8 @@ cgraph_decide_inlining_incrementally (st
            }
          continue;
        }
-      inlined |= try_inline (e, mode, depth);
+      if (e->inline_failed)
+       inlined |= try_inline (e, mode, depth);
     }

   /* Now do the automatic inlining.  */

works for me. But I don't know if it is correct.


-- 


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

Reply via email to