diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-08-10 12:30:34 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-08-10 12:30:34 +0000 |
commit | d950dee3a50e04e4bdf03cc061f7f2b858a84657 (patch) | |
tree | e3ee20c06e269902b68b2a5e3e336d2a0081cd5f /gcc/emit-rtl.c | |
parent | fac37dc49748835a2264f9a53b485b89aceb5718 (diff) | |
download | gcc-d950dee3a50e04e4bdf03cc061f7f2b858a84657.zip gcc-d950dee3a50e04e4bdf03cc061f7f2b858a84657.tar.gz gcc-d950dee3a50e04e4bdf03cc061f7f2b858a84657.tar.bz2 |
emit-rtl.c (emit_jump_insn_before, [...]): Fix uninitialized variable.
* emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
emit_jump_insn): Fix uninitialized variable.
* gcov.c (init_line_info): Likewise.
* genautomata.c (transform_3): Add braces around ambiguous
else.
* ifcvt.c (cond_exec_process_insns): Mark parameter with
ATTRIBUTE_UNUSED.
* ra-build.c (parts_to_webs_1): Fix uninitialized variable.
* regrename.c (copyprop_hardreg_forward): Fix uninitialized
variable.
From-SVN: r56182
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index d868924..cf138d3 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3974,7 +3974,7 @@ rtx emit_jump_insn_before (x, before) rtx x, before; { - rtx insn, last; + rtx insn, last = NULL_RTX; #ifdef ENABLE_RTL_CHECKING if (before == NULL_RTX) @@ -4021,7 +4021,7 @@ rtx emit_call_insn_before (x, before) rtx x, before; { - rtx last, insn; + rtx last = NULL_RTX, insn; #ifdef ENABLE_RTL_CHECKING if (before == NULL_RTX) @@ -4506,7 +4506,7 @@ rtx emit_jump_insn (x) rtx x; { - rtx last, insn; + rtx last = NULL_RTX, insn; switch (GET_CODE (x)) { |