aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorToshiyasu Morita <tm@netcom.com>1999-04-26 00:15:54 +0000
committerJeff Law <law@gcc.gnu.org>1999-04-25 18:15:54 -0600
commit07444f1d90c7b70f892063a0ae81bc43a68f6633 (patch)
tree7b64ed2d96959f1a08898a32af51473ac0098e4f /gcc/fold-const.c
parentc1709d0c7ad2a6dbcda2bde402e2fd747fa6cfd9 (diff)
downloadgcc-07444f1d90c7b70f892063a0ae81bc43a68f6633.zip
gcc-07444f1d90c7b70f892063a0ae81bc43a68f6633.tar.gz
gcc-07444f1d90c7b70f892063a0ae81bc43a68f6633.tar.bz2
fold-const.c (make_range): Always initialize arg0 and arg1.
* fold-const.c (make_range): Always initialize arg0 and arg1. (fold): Simlarly for alt0 and alt1. * function.c (fixup_var_refs_insns): Initialize insn_list. (instantiate_virtual_regs_1): Initialize offset. * optabs.c (expand_binop): Initialize carry_in, carry_out, op0_xhigh and op1_xhigh. * stmt.c (expand_end_case): Initialize minval and maxval. From-SVN: r26632
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 9b003c2..b7720f7 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -3109,7 +3109,7 @@ make_range (exp, pin_p, plow, phigh)
tree *plow, *phigh;
{
enum tree_code code;
- tree arg0, arg1, type = NULL_TREE;
+ tree arg0 = NULL_TREE, arg1 = NULL_TREE, type = NULL_TREE;
tree orig_type = NULL_TREE;
int in_p, n_in_p;
tree low, high, n_low, n_high;
@@ -4767,7 +4767,7 @@ fold (expr)
if (TREE_CODE (arg0) == MULT_EXPR && TREE_CODE (arg1) == MULT_EXPR)
{
tree arg00, arg01, arg10, arg11;
- tree alt0, alt1, same;
+ tree alt0 = NULL_TREE, alt1 = NULL_TREE, same;
/* (A * C) + (B * C) -> (A+B) * C.
We are most concerned about the case where C is a constant,