summaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index 7e581468dec..feeaeaca572 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -30,6 +30,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "config.h"
#include "system.h"
+#include "coretypes.h"
+#include "tm.h"
#include "tree.h"
#include "rtl.h"
#include "tm_p.h"
@@ -1077,7 +1079,7 @@ estimate_loops_at_level (first_loop)
static void
counts_to_freqs ()
{
- HOST_WIDEST_INT count_max = 1;
+ gcov_type count_max = 1;
basic_block bb;
FOR_EACH_BB (bb)