Commit 52ca6d35 by Jan Hubicka Committed by Jan Hubicka

builtins.c (expand_builtin_memset): Fix typo in my last patch.


	* builtins.c (expand_builtin_memset): Fix typo in my last patch.
	* value-prof.c (stringop_block_profile): Likewise.

From-SVN: r121272
parent 079a182e
2007-01-28 Jan Hubicka <jh@suse.cz>
* builtins.c (expand_builtin_memset): Fix typo in my last patch.
* value-prof.c (stringop_block_profile): Likewise.
2007-01-28 Jan Hubicka <jh@suse.cz>
* expr.c (emit_block_move_via_movmem, emit_block_move_via_libcall): Add
variant handling histograms; add wrapper.
(clear_storage_via_libcall): Export.
......
......@@ -3700,7 +3700,8 @@ expand_builtin_memset (tree arglist, rtx target, enum machine_mode mode,
builtin_memset_gen_str, val_rtx, dest_align, 0);
}
else if (!set_storage_via_setmem (dest_mem, len_rtx, val_rtx,
dest_align, -1, 0))
dest_align, expected_align,
expected_size))
goto do_libcall;
dest_mem = force_operand (XEXP (dest_mem, 0), NULL_RTX);
......
......@@ -1449,7 +1449,7 @@ stringop_block_profile (tree stmt, unsigned int *expected_align,
}
histogram = gimple_histogram_value_of_type (cfun, stmt, HIST_TYPE_IOR);
if (!histogram)
*expected_size = -1;
*expected_align = 0;
else
{
gcov_type count;
......
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