From 5921f276c7e038adb243e7e3145b6bb899e60ef6 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Thu, 28 Oct 2004 10:34:04 +0000 Subject: [PATCH] * final.c (shorten_branches): Initialize flags structure. From-SVN: r89746 --- gcc/ChangeLog | 4 ++++ gcc/final.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82eb2ca9078..c770da34170 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-10-28 Kaz Kojima + + * final.c (shorten_branches): Initialize flags structure. + 2004-10-28 Nathan Sidwell * tree.c (int_cst_node, int_cst_hash_table): New variables. diff --git a/gcc/final.c b/gcc/final.c index eb87bc7f6d8..bf4f521bcf5 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -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;