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
This commit is contained in:
Zack Weinberg 2007-09-03 19:53:02 +00:00 committed by Zack Weinberg
parent b356020960
commit a3324f269e
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
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.
(expand_unop_direct): New, broken out of expand_unop.
(expand_doubleword_clz): New.

View File

@ -2702,8 +2702,8 @@ expand_ctz (enum machine_mode mode, rtx op0, rtx target)
static rtx
expand_ffs (enum machine_mode mode, rtx op0, rtx target)
{
HOST_WIDE_INT val;
bool defined_at_zero;
HOST_WIDE_INT val = 0;
bool defined_at_zero = false;
rtx temp, seq;
if (optab_handler (ctz_optab, mode)->insn_code != CODE_FOR_nothing)