aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2005-10-30 09:59:16 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2005-10-30 09:59:16 +0000
commit7e1b44bbcb8379394cf31551dc6ca9ca10e18405 (patch)
tree4f2df84585f3d689c2d0f71a0c9df2dbff942611 /gcc/ipa-inline.c
parenta9a927164e6ceabd18217eac1a54f3a894f3d36e (diff)
downloadgcc-7e1b44bbcb8379394cf31551dc6ca9ca10e18405.zip
gcc-7e1b44bbcb8379394cf31551dc6ca9ca10e18405.tar.gz
gcc-7e1b44bbcb8379394cf31551dc6ca9ca10e18405.tar.bz2
re PR middle-end/24093 (cgraph exhausts virtual memory building 197.parser with -profile-use -O3)
PR middle-end/24093 * ipa-inline.c (craph_decide_recursive_inlining): Fix return value. From-SVN: r106014
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 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. */