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
This commit is contained in:
Andreas Krebbel 2005-10-30 09:59:16 +00:00 committed by Jan Hubicka
parent a9a927164e
commit 7e1b44bbcb
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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. */