aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-11-23 17:43:26 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-11-23 17:43:26 -0500
commitc4e861e80b499e06cbe79677d29d89fe517d356b (patch)
treec4e9f8f5b2aa206488648880d27e7e286144ff40 /gcc/combine.c
parentd66230e738488d10f7c6242163d8325024e90b75 (diff)
downloadgcc-c4e861e80b499e06cbe79677d29d89fe517d356b.zip
gcc-c4e861e80b499e06cbe79677d29d89fe517d356b.tar.gz
gcc-c4e861e80b499e06cbe79677d29d89fe517d356b.tar.bz2
(try_combine, simplify_shift_const): Add initializations for some
uninitialized variables. From-SVN: r6148
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 86be74a..f4da033 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -1162,7 +1162,7 @@ try_combine (i3, i2, i1)
/* PATTERN (I2), or a copy of it in certain cases. */
rtx i2pat;
/* Indicates if I2DEST or I1DEST is in I2SRC or I1_SRC. */
- int i2dest_in_i2src, i1dest_in_i1src = 0, i2dest_in_i1src = 0;
+ int i2dest_in_i2src = 0, i1dest_in_i1src = 0, i2dest_in_i1src = 0;
int i1_feeds_i3 = 0;
/* Notes that must be added to REG_NOTES in I3 and I2. */
rtx new_i3_notes, new_i2_notes;
@@ -1262,7 +1262,7 @@ try_combine (i3, i2, i1)
subst_insn = i3;
subst_low_cuid = INSN_CUID (i2);
- added_sets_2 = 0;
+ added_sets_2 = added_sets_1 = 0;
i2dest = SET_SRC (PATTERN (i3));
/* Replace the dest in I2 with our dest and make the resulting
@@ -7257,7 +7257,7 @@ simplify_shift_const (x, code, result_mode, varop, count)
= (GET_MODE_SIZE (mode) + (UNITS_PER_WORD - 1)) / UNITS_PER_WORD;
/* We form (outer_op (code varop count) (outer_const)). */
enum rtx_code outer_op = NIL;
- HOST_WIDE_INT outer_const;
+ HOST_WIDE_INT outer_const = 0;
rtx const_rtx;
int complement_p = 0;
rtx new;