aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.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/optabs.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/optabs.c')
-rw-r--r--gcc/optabs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index c609614..00ce961 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -898,7 +898,7 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
rtx carry_tmp = gen_reg_rtx (word_mode);
optab otheroptab = binoptab == add_optab ? sub_optab : add_optab;
int nwords = GET_MODE_BITSIZE (mode) / BITS_PER_WORD;
- rtx carry_in, carry_out;
+ rtx carry_in = NULL_RTX, carry_out = NULL_RTX;
rtx xop0, xop1;
/* We can handle either a 1 or -1 value for the carry. If STORE_FLAG
@@ -1068,8 +1068,8 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
rtx op1_high = operand_subword_force (op1, high, mode);
rtx op1_low = operand_subword_force (op1, low, mode);
rtx product = 0;
- rtx op0_xhigh;
- rtx op1_xhigh;
+ rtx op0_xhigh = NULL_RTX;
+ rtx op1_xhigh = NULL_RTX;
/* If the target is the same as one of the inputs, don't use it. This
prevents problems with the REG_EQUAL note. */