Commit a3324f26 by Zack Weinberg Committed by Zack Weinberg

optabs.c (expand_ffs): Initialize val and defined_at_zero to avoid warnings.

	* optabs.c (expand_ffs): Initialize val and defined_at_zero
	to avoid warnings.

From-SVN: r128058
parent b3560209
2007-09-03 Zack Weinberg <zack@codesourcery.com> 2007-09-03 Zack Weinberg <zack@codesourcery.com>
* optabs.c (expand_ffs): Initialize val and defined_at_zero
to avoid warnings.
* optabs.c: Remove unnecessary forward declarations. * optabs.c: Remove unnecessary forward declarations.
(expand_unop_direct): New, broken out of expand_unop. (expand_unop_direct): New, broken out of expand_unop.
(expand_doubleword_clz): New. (expand_doubleword_clz): New.
......
...@@ -2702,8 +2702,8 @@ expand_ctz (enum machine_mode mode, rtx op0, rtx target) ...@@ -2702,8 +2702,8 @@ expand_ctz (enum machine_mode mode, rtx op0, rtx target)
static rtx static rtx
expand_ffs (enum machine_mode mode, rtx op0, rtx target) expand_ffs (enum machine_mode mode, rtx op0, rtx target)
{ {
HOST_WIDE_INT val; HOST_WIDE_INT val = 0;
bool defined_at_zero; bool defined_at_zero = false;
rtx temp, seq; rtx temp, seq;
if (optab_handler (ctz_optab, mode)->insn_code != CODE_FOR_nothing) if (optab_handler (ctz_optab, mode)->insn_code != CODE_FOR_nothing)
......
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