aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/predict.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7142fe5..0b26459 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * predict.c (predict_loops): Call scev_finalize instead of
+ scev_reset.
+
2004-10-24 Kazu Hirata <kazu@cs.umass.edu>
* config/dbxcoff.h, config/dbxelf.h, config/libgloss.h,
diff --git a/gcc/predict.c b/gcc/predict.c
index 1078ab8..f338789 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -695,7 +695,7 @@ predict_loops (struct loops *loops_info, bool rtlsimpleloops)
}
if (!rtlsimpleloops)
- scev_reset ();
+ scev_finalize ();
}
/* Attempt to predict probabilities of BB outgoing edges using local