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
This commit is contained in:
Richard Sandiford 2005-04-10 06:23:08 +00:00 committed by Richard Sandiford
parent 46382283d5
commit f1ac52cd09
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;