aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-07-16 14:15:27 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-07-16 12:15:27 +0000
commit84fc24e8a0955d26e26f81f5a393fccf69156916 (patch)
treee40a6f3a4c3b50f937ebf086c49acc42fc0c325d /gcc/predict.c
parent866c78db255daf2afb26f267a84469000ac89318 (diff)
downloadgcc-84fc24e8a0955d26e26f81f5a393fccf69156916.zip
gcc-84fc24e8a0955d26e26f81f5a393fccf69156916.tar.gz
gcc-84fc24e8a0955d26e26f81f5a393fccf69156916.tar.bz2
cfg.c (update_bb_profile_for_threading): Fix profile updating.
* cfg.c (update_bb_profile_for_threading): Fix profile updating. (scale_bbs_frequencies_int): Watch roundoff errors. * predict.c (return_prediction): Initialize return_stmt. From-SVN: r102087
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index 305ada6..a448c04 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -1206,7 +1206,7 @@ return_prediction (tree val, enum prediction *prediction)
static void
apply_return_prediction (int *heads)
{
- tree return_stmt;
+ tree return_stmt = NULL;
tree return_val;
edge e;
tree phi;