Commit af035616 by J"orn Rennecke Committed by Joern Rennecke

* final.c (shorten_branches): Initialize insn_addresses.

From-SVN: r18448
parent 97e3c422
Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* final.c (shorten_branches): Initialize insn_addresses.
Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.h (MUST_PASS_IN_STACK): Define.
......
......@@ -1067,6 +1067,9 @@ shorten_branches (first)
if (insn_addresses)
free (insn_addresses);
insn_addresses = (int *) xmalloc (max_uid * sizeof (int));
/* Syntax errors can lead to labels being outside of the main insn stream.
Initialize insn_addresses, so that we get reproducible results. */
bzero ((char *)insn_addresses, max_uid * sizeof *insn_addresses);
if (uid_align)
free (uid_align);
uid_align = (rtx *) xmalloc (max_uid * sizeof *uid_align);
......
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