#include "tree-flow.h"
#include "tree-flow-inline.h"
#include "diagnostic.h"
+#include "coverage.h"
#include "tree.h"
#include "gcov-io.h"
/* Compute probability of taking the optimal path. */
prob = (count * REG_BR_PROB_BASE + all / 2) / all;
- tree_val = build_int_cst_wide (GCOV_TYPE_NODE, val & 0xffffffffull, val >> 32);
+ tree_val = build_int_cst_wide (get_gcov_type (),
+ val & 0xffffffffull, val >> 32);
result = tree_divmod_fixed_value (stmt, op, op1, op2, tree_val, prob, count, all);
TREE_OPERAND (modify, 1) = result;