Commit 9616dd8d by Jeffrey A Law Committed by Jeff Law

* regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.

From-SVN: r21386
parent f8c86b58
Sun Jul 26 01:01:32 1998 Jeffrey A Law (law@cygnus.com)
* regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.
Sat Jul 25 23:29:23 1998 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* Makefile.in (install-info): Only try to update the info
......
......@@ -862,7 +862,7 @@ regmove_optimize (f, nregs, regmove_dump_file)
for (i = maxregnum; --i >= 0; ) regno_src_regno[i] = -1;
regmove_bb_head = (int *)alloca (sizeof (int) * (get_max_uid () + 1));
for (i = get_max_uid (); --i >= 0; ) regmove_bb_head[i] = -1;
for (i = get_max_uid (); i >= 0; i--) regmove_bb_head[i] = -1;
for (i = 0; i < n_basic_blocks; i++)
regmove_bb_head[INSN_UID (basic_block_head[i])] = i;
......
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