summaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-30 09:59:16 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-30 09:59:16 +0000
commit2a53400880c7b3bde9622544e28f900a8c0409d4 (patch)
tree4f2df84585f3d689c2d0f71a0c9df2dbff942611 /gcc/ipa-inline.c
parentbb3c2ff220e9f0ee82e0fc8a132a8bc7d942b0a7 (diff)
downloadgcc-2a53400880c7b3bde9622544e28f900a8c0409d4.tar.gz
PR middle-end/24093
* ipa-inline.c (craph_decide_recursive_inlining): Fix return value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106014 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r--gcc/ipa-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index d91ca669765..00a36c57fc2 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. */