aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-04-01 23:35:51 +0000
committerJeff Law <law@gcc.gnu.org>1998-04-01 16:35:51 -0700
commit4e86caed7d541a727d81085220182edb5a44f5b6 (patch)
treed7f3ccc049199953830eb5220f5dfa68c39be0a6 /gcc/fold-const.c
parentaefdd5abe0eae984fa04ea12851c9ff0f1695033 (diff)
downloadgcc-4e86caed7d541a727d81085220182edb5a44f5b6.zip
gcc-4e86caed7d541a727d81085220182edb5a44f5b6.tar.gz
gcc-4e86caed7d541a727d81085220182edb5a44f5b6.tar.bz2
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
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 537e2b2..99b913a 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))