aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-cp.c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2008-09-18 19:57:05 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2008-09-18 19:57:05 +0200
commitbe95e2b9256eb04ee4f4c56711e813f226591828 (patch)
tree41c7d310db75d5c5b7633625f143367537d2f51d /gcc/ipa-cp.c
parente2c9111c0eac78bd9249d98ecdaebc9a4e327ffb (diff)
downloadgcc-be95e2b9256eb04ee4f4c56711e813f226591828.zip
gcc-be95e2b9256eb04ee4f4c56711e813f226591828.tar.gz
gcc-be95e2b9256eb04ee4f4c56711e813f226591828.tar.bz2
ipa-cp.c (ipcp_estimate_growth): Return 0 instead of false.
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. From-SVN: r140464
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 8dbc9f8..455ba91 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);