From: Andreas Krebbel Date: Sun, 30 Oct 2005 09:59:16 +0000 (+0000) Subject: re PR middle-end/24093 (cgraph exhausts virtual memory building 197.parser with ... X-Git-Tag: releases/gcc-4.1.0~1161 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e1b44bbcb8379394cf31551dc6ca9ca10e18405;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76ccffe0055a..c9bafabe0cf0 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 d91ca6697650..00a36c57fc2f 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. */