Commit abeeec2a by Mike Stump

except.c (find_exception_handler_labels): Initialize label array with zeroes.

        * except.c (find_exception_handler_labels): Initialize label array
        with zeroes.

From-SVN: r13613
parent 312e7d50
...@@ -1231,8 +1231,9 @@ find_exception_handler_labels () ...@@ -1231,8 +1231,9 @@ find_exception_handler_labels ()
/* Generate a handy reference to each label. */ /* Generate a handy reference to each label. */
labels = (rtx *) alloca ((max_labelno - min_labelno) * sizeof (rtx)); labels = (rtx *) alloca ((max_labelno - min_labelno) * sizeof (rtx));
bzero ((char *) labels, (max_labelno - min_labelno) * sizeof (rtx));
/* Eeeeeeew. */ /* Arrange for labels to be indexed directly by CODE_LABEL_NUMBER. */
labels -= min_labelno; labels -= min_labelno;
for (insn = get_insns (); insn; insn = NEXT_INSN (insn)) for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment