mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
46382283d5
commit
f1ac52cd09
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue