aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-inline.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 76ccffe..c9bafab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index d91ca66..00a36c5 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -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. */