Commit f1ac52cd by Richard Sandiford Committed by Richard Sandiford

value-prof.c (tree_divmod_fixed_value_transform): Fix arguments to build_int_cst_wide.

	* value-prof.c (tree_divmod_fixed_value_transform): Fix arguments
	to build_int_cst_wide.

From-SVN: r97940
parent 46382283
2005-04-10 Richard Sandiford <rsandifo@redhat.com>
* value-prof.c (tree_divmod_fixed_value_transform): Fix arguments
to build_int_cst_wide.
2005-04-09 Alexandre Oliva <aoliva@redhat.com>
PR target/20126
......
......@@ -1243,7 +1243,8 @@ tree_divmod_fixed_value_transform (tree stmt)
prob = (count * REG_BR_PROB_BASE + all / 2) / all;
tree_val = build_int_cst_wide (get_gcov_type (),
val & 0xffffffffull, val >> 32);
(unsigned HOST_WIDE_INT) val,
val >> (HOST_BITS_PER_WIDE_INT - 1) >> 1);
result = tree_divmod_fixed_value (stmt, op, op1, op2, tree_val, prob, count, all);
TREE_OPERAND (modify, 1) = result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment