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
This commit is contained in:
Kaveh R. Ghazi 2001-11-21 04:57:09 +00:00 committed by Kaveh Ghazi
parent f607bc57e3
commit cd4c46f3de
7 changed files with 21 additions and 9 deletions

View File

@ -1,3 +1,12 @@
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>
* config.gcc: Delete powerpcle-*-solaris2* stanza.

View File

@ -223,7 +223,7 @@ void
clipper_movstr (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 fixed;

View File

@ -330,7 +330,7 @@ int
is_mask (val)
unsigned int val;
{
register int start, end, i;
register int start, end = 0, i;
start = -1;
for (i = 0; val != 0; val >>= 1, i++)
@ -2118,7 +2118,7 @@ legitimize_address (x, oldx, mode)
other = XEXP (x, 1);
}
else
constant = 0;
constant = 0, other = 0;
if (constant)
x = gen_rtx_PLUS (Pmode,

View File

@ -2017,7 +2017,7 @@ m88k_expand_prologue ()
{
rtx return_reg = gen_rtx_REG (SImode, 1);
rtx label = gen_label_rtx ();
rtx temp_reg;
rtx temp_reg = NULL_RTX;
if (! save_regs[1])
{

View File

@ -2931,7 +2931,7 @@
rtx label1 = gen_label_rtx ();
rtx label2 = gen_label_rtx ();
rtx label3 = gen_label_rtx ();
rtx label4;
rtx label4 = NULL_RTX;
emit_insn (gen_negsi2 (neg_op2, op2));
emit_insn (gen_cmpsi (op2, const0_rtx));
@ -3799,7 +3799,7 @@
register rtx index_diff = gen_reg_rtx (SImode);
register rtx low = GEN_INT (-INTVAL (operands[1]));
register rtx label = gen_rtx_LABEL_REF (Pmode, operands[3]);
register rtx base;
register rtx base = NULL_RTX;
if (! CASE_VECTOR_INSNS)
/* These instructions are likely to be scheduled and made loop invariant.

View File

@ -2708,7 +2708,10 @@ emit_new_cond_insn (insn, cond)
src = SET_SRC (pat);
}
else
dst = JUMP_LABEL (insn);
{
dst = JUMP_LABEL (insn);
src = NULL_RTX;
}
switch (num)
{

View File

@ -132,7 +132,7 @@ xstormy16_emit_cbranch (code, loc)
{
int unsigned_p = (code == GTU || code == LEU);
int gt_p = (code == GT || code == GTU);
rtx lab;
rtx lab = NULL_RTX;
if (gt_p)
lab = gen_label_rtx ();
@ -148,7 +148,7 @@ xstormy16_emit_cbranch (code, loc)
&& (code == NE || code == EQ)
&& op1 != const0_rtx)
{
rtx lab;
rtx lab = NULL_RTX;
int num_words = GET_MODE_BITSIZE (mode) / BITS_PER_WORD;
int i;