Commit 4e86caed by Jeffrey A Law Committed by Jeff Law

fold-const.c (optimze_bit_field_compare): Initialize rnbitpos, rnbitsize, rnmode and rinner.

        * 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.

From-SVN: r18943
parent aefdd5ab
Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com) Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
* 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.
* c-lex.c (yylex): Initialize traditional_type, ansi_type and type. * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
* caller-save.c (insert_save_restore): Initialize pat, code and * caller-save.c (insert_save_restore): Initialize pat, code and
......
...@@ -2388,15 +2388,15 @@ optimize_bit_field_compare (code, compare_type, lhs, rhs) ...@@ -2388,15 +2388,15 @@ optimize_bit_field_compare (code, compare_type, lhs, rhs)
tree lhs, rhs; tree lhs, rhs;
{ {
int lbitpos, lbitsize, rbitpos, rbitsize; int lbitpos, lbitsize, rbitpos, rbitsize;
int lnbitpos, lnbitsize, rnbitpos, rnbitsize; int lnbitpos, lnbitsize, rnbitpos = 0, rnbitsize = 0;
tree type = TREE_TYPE (lhs); tree type = TREE_TYPE (lhs);
tree signed_type, unsigned_type; tree signed_type, unsigned_type;
int const_p = TREE_CODE (rhs) == INTEGER_CST; 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 lunsignedp, runsignedp;
int lvolatilep = 0, rvolatilep = 0; int lvolatilep = 0, rvolatilep = 0;
int alignment; int alignment;
tree linner, rinner; tree linner, rinner = NULL_TREE;
tree mask; tree mask;
tree offset; tree offset;
...@@ -2784,7 +2784,7 @@ make_range (exp, pin_p, plow, phigh) ...@@ -2784,7 +2784,7 @@ make_range (exp, pin_p, plow, phigh)
tree *plow, *phigh; tree *plow, *phigh;
{ {
enum tree_code code; enum tree_code code;
tree arg0, arg1, type; tree arg0, arg1, type = NULL_TREE;
int in_p, n_in_p; int in_p, n_in_p;
tree low, high, n_low, n_high; tree low, high, n_low, n_high;
...@@ -3717,7 +3717,7 @@ fold (expr) ...@@ -3717,7 +3717,7 @@ fold (expr)
tree t1 = NULL_TREE; tree t1 = NULL_TREE;
tree tem; tree tem;
tree type = TREE_TYPE (expr); 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 enum tree_code code = TREE_CODE (t);
register int kind; register int kind;
int invert; int invert;
...@@ -5114,7 +5114,7 @@ fold (expr) ...@@ -5114,7 +5114,7 @@ fold (expr)
First, see if one arg is constant; find the constant arg First, see if one arg is constant; find the constant arg
and the other one. */ and the other one. */
{ {
tree constop = 0, varop; tree constop = 0, varop = NULL_TREE;
int constopnum = -1; int constopnum = -1;
if (TREE_CONSTANT (arg1)) if (TREE_CONSTANT (arg1))
......
...@@ -2977,7 +2977,7 @@ instantiate_virtual_regs_1 (loc, object, extra_insns) ...@@ -2977,7 +2977,7 @@ instantiate_virtual_regs_1 (loc, object, extra_insns)
rtx x; rtx x;
RTX_CODE code; RTX_CODE code;
rtx new = 0; rtx new = 0;
int offset; int offset = 0;
rtx temp; rtx temp;
rtx seq; rtx seq;
int i, j; int i, j;
...@@ -4037,7 +4037,7 @@ assign_parms (fndecl, second_time) ...@@ -4037,7 +4037,7 @@ assign_parms (fndecl, second_time)
may need to do it in a wider mode. */ may need to do it in a wider mode. */
register rtx parmreg; register rtx parmreg;
int regno, regnoi, regnor; int regno, regnoi = 0, regnor = 0;
unsignedp = TREE_UNSIGNED (TREE_TYPE (parm)); unsignedp = TREE_UNSIGNED (TREE_TYPE (parm));
...@@ -5336,7 +5336,7 @@ expand_function_start (subr, parms_have_cleanups) ...@@ -5336,7 +5336,7 @@ expand_function_start (subr, parms_have_cleanups)
{ {
register int i; register int i;
tree tem; tree tem;
rtx last_ptr; rtx last_ptr = NULL_RTX;
/* Make sure volatile mem refs aren't considered /* Make sure volatile mem refs aren't considered
valid operands of arithmetic insns. */ valid operands of arithmetic insns. */
......
...@@ -331,7 +331,7 @@ layout_record (rec) ...@@ -331,7 +331,7 @@ layout_record (rec)
for (field = TYPE_FIELDS (rec); field; field = TREE_CHAIN (field)) for (field = TYPE_FIELDS (rec); field; field = TREE_CHAIN (field))
{ {
register int known_align = var_size ? var_align : const_size; register int known_align = var_size ? var_align : const_size;
register int desired_align; register int desired_align = 0;
/* If FIELD is static, then treat it like a separate variable, /* If FIELD is static, then treat it like a separate variable,
not really like a structure field. not really like a structure field.
...@@ -1222,7 +1222,7 @@ get_best_mode (bitsize, bitpos, align, largest_mode, volatilep) ...@@ -1222,7 +1222,7 @@ get_best_mode (bitsize, bitpos, align, largest_mode, volatilep)
int volatilep; int volatilep;
{ {
enum machine_mode mode; enum machine_mode mode;
int unit; int unit = 0;
/* Find the narrowest integer mode that contains the bit field. */ /* Find the narrowest integer mode that contains the bit field. */
for (mode = GET_CLASS_NARROWEST_MODE (MODE_INT); mode != VOIDmode; for (mode = GET_CLASS_NARROWEST_MODE (MODE_INT); mode != VOIDmode;
......
...@@ -1128,7 +1128,7 @@ copy_node (node) ...@@ -1128,7 +1128,7 @@ copy_node (node)
{ {
register tree t; register tree t;
register enum tree_code code = TREE_CODE (node); register enum tree_code code = TREE_CODE (node);
register int length; register int length = 0;
register int i; register int i;
switch (TREE_CODE_CLASS (code)) switch (TREE_CODE_CLASS (code))
......
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