Commit cd4c46f3 by Kaveh R. Ghazi Committed by Kaveh Ghazi

clipper.c (clipper_movstr): Avoid uninitialized warning.

	* clipper.c (clipper_movstr): Avoid uninitialized warning.
	* i960.c (is_mask, legitimize_address): Likewise.
	* m88k.c (m88k_expand_prologue): Likewise.
	* m88k.md: Likewise.
	* mcore.c (emit_new_cond_insn): Likewise.
	* stormy16.c (xstormy16_emit_cbranch): Likewise.

From-SVN: r47233
parent f607bc57
2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* clipper.c (clipper_movstr): Avoid uninitialized warning.
* i960.c (is_mask, legitimize_address): Likewise.
* m88k.c (m88k_expand_prologue): Likewise.
* m88k.md: Likewise.
* mcore.c (emit_new_cond_insn): Likewise.
* stormy16.c (xstormy16_emit_cbranch): Likewise.
2001-11-20 Zack Weinberg <zack@codesourcery.com> 2001-11-20 Zack Weinberg <zack@codesourcery.com>
* config.gcc: Delete powerpcle-*-solaris2* stanza. * config.gcc: Delete powerpcle-*-solaris2* stanza.
......
...@@ -223,7 +223,7 @@ void ...@@ -223,7 +223,7 @@ void
clipper_movstr (operands) clipper_movstr (operands)
rtx *operands; rtx *operands;
{ {
rtx dst,src,cnt,tmp,top,bottom,xops[3]; rtx dst,src,cnt,tmp,top,bottom=NULL_RTX,xops[3];
int align; int align;
int fixed; int fixed;
......
...@@ -330,7 +330,7 @@ int ...@@ -330,7 +330,7 @@ int
is_mask (val) is_mask (val)
unsigned int val; unsigned int val;
{ {
register int start, end, i; register int start, end = 0, i;
start = -1; start = -1;
for (i = 0; val != 0; val >>= 1, i++) for (i = 0; val != 0; val >>= 1, i++)
...@@ -2118,7 +2118,7 @@ legitimize_address (x, oldx, mode) ...@@ -2118,7 +2118,7 @@ legitimize_address (x, oldx, mode)
other = XEXP (x, 1); other = XEXP (x, 1);
} }
else else
constant = 0; constant = 0, other = 0;
if (constant) if (constant)
x = gen_rtx_PLUS (Pmode, x = gen_rtx_PLUS (Pmode,
......
...@@ -2017,7 +2017,7 @@ m88k_expand_prologue () ...@@ -2017,7 +2017,7 @@ m88k_expand_prologue ()
{ {
rtx return_reg = gen_rtx_REG (SImode, 1); rtx return_reg = gen_rtx_REG (SImode, 1);
rtx label = gen_label_rtx (); rtx label = gen_label_rtx ();
rtx temp_reg; rtx temp_reg = NULL_RTX;
if (! save_regs[1]) if (! save_regs[1])
{ {
......
...@@ -2931,7 +2931,7 @@ ...@@ -2931,7 +2931,7 @@
rtx label1 = gen_label_rtx (); rtx label1 = gen_label_rtx ();
rtx label2 = gen_label_rtx (); rtx label2 = gen_label_rtx ();
rtx label3 = gen_label_rtx (); rtx label3 = gen_label_rtx ();
rtx label4; rtx label4 = NULL_RTX;
emit_insn (gen_negsi2 (neg_op2, op2)); emit_insn (gen_negsi2 (neg_op2, op2));
emit_insn (gen_cmpsi (op2, const0_rtx)); emit_insn (gen_cmpsi (op2, const0_rtx));
...@@ -3799,7 +3799,7 @@ ...@@ -3799,7 +3799,7 @@
register rtx index_diff = gen_reg_rtx (SImode); register rtx index_diff = gen_reg_rtx (SImode);
register rtx low = GEN_INT (-INTVAL (operands[1])); register rtx low = GEN_INT (-INTVAL (operands[1]));
register rtx label = gen_rtx_LABEL_REF (Pmode, operands[3]); register rtx label = gen_rtx_LABEL_REF (Pmode, operands[3]);
register rtx base; register rtx base = NULL_RTX;
if (! CASE_VECTOR_INSNS) if (! CASE_VECTOR_INSNS)
/* These instructions are likely to be scheduled and made loop invariant. /* These instructions are likely to be scheduled and made loop invariant.
......
...@@ -2708,7 +2708,10 @@ emit_new_cond_insn (insn, cond) ...@@ -2708,7 +2708,10 @@ emit_new_cond_insn (insn, cond)
src = SET_SRC (pat); src = SET_SRC (pat);
} }
else else
dst = JUMP_LABEL (insn); {
dst = JUMP_LABEL (insn);
src = NULL_RTX;
}
switch (num) switch (num)
{ {
......
...@@ -132,7 +132,7 @@ xstormy16_emit_cbranch (code, loc) ...@@ -132,7 +132,7 @@ xstormy16_emit_cbranch (code, loc)
{ {
int unsigned_p = (code == GTU || code == LEU); int unsigned_p = (code == GTU || code == LEU);
int gt_p = (code == GT || code == GTU); int gt_p = (code == GT || code == GTU);
rtx lab; rtx lab = NULL_RTX;
if (gt_p) if (gt_p)
lab = gen_label_rtx (); lab = gen_label_rtx ();
...@@ -148,7 +148,7 @@ xstormy16_emit_cbranch (code, loc) ...@@ -148,7 +148,7 @@ xstormy16_emit_cbranch (code, loc)
&& (code == NE || code == EQ) && (code == NE || code == EQ)
&& op1 != const0_rtx) && op1 != const0_rtx)
{ {
rtx lab; rtx lab = NULL_RTX;
int num_words = GET_MODE_BITSIZE (mode) / BITS_PER_WORD; int num_words = GET_MODE_BITSIZE (mode) / BITS_PER_WORD;
int i; int i;
......
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