Commit 9b316aa2 by Richard Kenner

(propagate_block): Call mark_used_regs to show global regs used by

call.

From-SVN: r8304
parent 2507a276
...@@ -1521,11 +1521,11 @@ propagate_block (old, first, last, final, significant, bnum) ...@@ -1521,11 +1521,11 @@ propagate_block (old, first, last, final, significant, bnum)
/* Calls may also reference any of the global registers, /* Calls may also reference any of the global registers,
so they are made live. */ so they are made live. */
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
if (global_regs[i]) if (global_regs[i])
live[i / REGSET_ELT_BITS] mark_used_regs (old, live,
|= ((REGSET_ELT_TYPE) 1 << (i % REGSET_ELT_BITS)); gen_rtx (REG, reg_raw_mode[i], i),
final, insn);
/* Calls also clobber memory. */ /* Calls also clobber memory. */
last_mem_set = 0; last_mem_set = 0;
......
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