summaryrefslogtreecommitdiff
path: root/gcc/ipa-cp.c
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-18 17:57:05 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-18 17:57:05 +0000
commit1917e9458272067cc4eced09fb318d4572fa91dd (patch)
tree41c7d310db75d5c5b7633625f143367537d2f51d /gcc/ipa-cp.c
parent86844d6c095dfa67c72e0dd4db3446aa85c5e663 (diff)
downloadgcc-1917e9458272067cc4eced09fb318d4572fa91dd.tar.gz
2008-09-18 Martin Jambor <mjambor@suse.cz>
* ipa-cp.c (ipcp_estimate_growth): Return 0 instead of false. * ipa-prop.c: Correct comments. * ipa-prop.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140464 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-cp.c')
-rw-r--r--gcc/ipa-cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index 8dbc9f87f99..455ba91ec35 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -1058,7 +1058,7 @@ ipcp_estimate_growth (struct cgraph_node *node)
/* If we will be able to fully replace orignal node, we never increase
program size. */
if (!need_original)
- return false;
+ return 0;
info = IPA_NODE_REF (node);
count = ipa_get_param_count (info);