re PR middle-end/24093 (cgraph exhausts virtual memory building 197.parser with ...
authorAndreas Krebbel <krebbel1@de.ibm.com>
Sun, 30 Oct 2005 09:59:16 +0000 (09:59 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 30 Oct 2005 09:59:16 +0000 (09:59 +0000)
PR middle-end/24093
* ipa-inline.c (craph_decide_recursive_inlining): Fix return value.

From-SVN: r106014

gcc/ChangeLog
gcc/ipa-inline.c

index 76ccffe0055a8415ba6e38498e2ce76b12255bdd..c9bafabe0cf0c1bfd644e7c3ae87022c98d33e58 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-28  Andreas Krebbel <krebbel1@de.ibm.com>
+
+       PR middle-end/24093
+       * ipa-inline.c (craph_decide_recursive_inlining): Fix return value.
+
 2005-10-28  Aldy Hernandez  <aldyh@redhat.com>
 
         * config/ms1/ms1.h (TARGET_MS1_64_001): New.
index d91ca669765023dc6bf64a99174721a22a9cf4e7..00a36c57fc2f628e96fc5ab868fbe972807be539 100644 (file)
@@ -650,7 +650,7 @@ cgraph_decide_recursive_inlining (struct cgraph_node *node)
      function.  At this place we should probably walk the function and
      inline clones and compensate the counts accordingly.  This probably
      doesn't matter much in practice.  */
-  return true;
+  return n > 0;
 }
 
 /* Set inline_failed for all callers of given function to REASON.  */