* final.c (shorten_branches): Initialize flags structure.
authorKaz Kojima <kkojima@gcc.gnu.org>
Thu, 28 Oct 2004 10:34:04 +0000 (10:34 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Thu, 28 Oct 2004 10:34:04 +0000 (10:34 +0000)
From-SVN: r89746

gcc/ChangeLog
gcc/final.c

index 82eb2ca..c770da3 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-28  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * final.c (shorten_branches): Initialize flags structure.
+
 2004-10-28  Nathan Sidwell  <nathan@codesourcery.com>
 
        * tree.c (int_cst_node, int_cst_hash_table): New variables.
index eb87bc7..bf4f521 100644 (file)
@@ -956,6 +956,7 @@ shorten_branches (rtx first ATTRIBUTE_UNUSED)
          XEXP (pat, 3) = gen_rtx_LABEL_REF (VOIDmode, max_lab);
          insn_shuid = INSN_SHUID (insn);
          rel = INSN_SHUID (XEXP (XEXP (pat, 0), 0));
+         memset (&flags, 0, sizeof (flags));
          flags.min_align = min_align;
          flags.base_after_vec = rel > insn_shuid;
          flags.min_after_vec  = min > insn_shuid;