From 7e1b44bbcb8379394cf31551dc6ca9ca10e18405 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Sun, 30 Oct 2005 09:59:16 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/ipa-inline.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76ccffe0055..c9bafabe0cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-10-28 Andreas Krebbel + + PR middle-end/24093 + * ipa-inline.c (craph_decide_recursive_inlining): Fix return value. + 2005-10-28 Aldy Hernandez * config/ms1/ms1.h (TARGET_MS1_64_001): New. 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. */ -- 2.30.2