This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add missing return false to ipcp_cloning_candidate_p
- From: Martin Jambor <mjambor at suse dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jan Hubicka <hubicka at ucw dot cz>
- Date: Mon, 11 May 2009 23:00:20 +0200
- Subject: Add missing return false to ipcp_cloning_candidate_p
Hi,
There was a missing return false in ipcp_cloning_candidate_p(). Honza
asked me to add it so I have committed the following patch as revision
147396 after bootstrapping and testing it on x86-64-linux.
Martin
2009-05-11 Martin Jambor <mjambor@suse.cz>
* ipa-cp.c (ipcp_cloning_candidate_p): Add missing return false.
Index: gcc/ipa-cp.c
===================================================================
--- gcc/ipa-cp.c (revision 147389)
+++ gcc/ipa-cp.c (working copy)
@@ -438,6 +438,7 @@ ipcp_cloning_candidate_p (struct cgraph_
if (dump_file)
fprintf (dump_file, "Not considering %s for cloning; no hot calls.\n",
cgraph_node_name (node));
+ return false;
}
if (dump_file)
fprintf (dump_file, "Considering %s for cloning.\n",