diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-01 23:35:51 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-01 23:35:51 +0000 |
commit | 93b6a460e81b4f327948db4b5235a6b04581094f (patch) | |
tree | d7f3ccc049199953830eb5220f5dfa68c39be0a6 /gcc/fold-const.c | |
parent | 2041cfd9d3cc196019c4e53a67af0e515d4efb58 (diff) | |
download | gcc-93b6a460e81b4f327948db4b5235a6b04581094f.tar.gz |
* fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
rnbitsize, rnmode and rinner.
(make_range): Initialize type.
(fold): Initialize arg0, arg1 and varop.
* function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
and regnor.
(expand_function_start): Initialize last_ptr.
* stor-layout.c (layout_record): Initialize desired_align.
(get_best_mode): Initialize unit.
* tree.c (copy_node): Initialize length.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18943 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 537e2b201f4..99b913a284e 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -2388,15 +2388,15 @@ optimize_bit_field_compare (code, compare_type, lhs, rhs) tree lhs, rhs; { int lbitpos, lbitsize, rbitpos, rbitsize; - int lnbitpos, lnbitsize, rnbitpos, rnbitsize; + int lnbitpos, lnbitsize, rnbitpos = 0, rnbitsize = 0; tree type = TREE_TYPE (lhs); tree signed_type, unsigned_type; int const_p = TREE_CODE (rhs) == INTEGER_CST; - enum machine_mode lmode, rmode, lnmode, rnmode; + enum machine_mode lmode, rmode, lnmode, rnmode = VOIDmode; int lunsignedp, runsignedp; int lvolatilep = 0, rvolatilep = 0; int alignment; - tree linner, rinner; + tree linner, rinner = NULL_TREE; tree mask; tree offset; @@ -2784,7 +2784,7 @@ make_range (exp, pin_p, plow, phigh) tree *plow, *phigh; { enum tree_code code; - tree arg0, arg1, type; + tree arg0, arg1, type = NULL_TREE; int in_p, n_in_p; tree low, high, n_low, n_high; @@ -3717,7 +3717,7 @@ fold (expr) tree t1 = NULL_TREE; tree tem; tree type = TREE_TYPE (expr); - register tree arg0, arg1; + register tree arg0 = NULL_TREE, arg1 = NULL_TREE; register enum tree_code code = TREE_CODE (t); register int kind; int invert; @@ -5114,7 +5114,7 @@ fold (expr) First, see if one arg is constant; find the constant arg and the other one. */ { - tree constop = 0, varop; + tree constop = 0, varop = NULL_TREE; int constopnum = -1; if (TREE_CONSTANT (arg1)) |