Commit d1abb925 by Richard Henderson Committed by Richard Henderson

flow.c (propagate_block): Add call-clobbered registers to significant too.

        * flow.c (propagate_block): Add call-clobbered registers to
        significant too.

From-SVN: r29989
parent f88b51fc
Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
* flow.c (propagate_block): Add call-clobbered registers to
significant too.
Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com> Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
* toplev.c (main): Don't complain about options for other languages. * toplev.c (main): Don't complain about options for other languages.
......
...@@ -3433,7 +3433,11 @@ propagate_block (old, first, last, significant, bnum, flags) ...@@ -3433,7 +3433,11 @@ propagate_block (old, first, last, significant, bnum, flags)
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
if (call_used_regs[i] && ! global_regs[i] if (call_used_regs[i] && ! global_regs[i]
&& ! fixed_regs[i]) && ! fixed_regs[i])
SET_REGNO_REG_SET (dead, i); {
SET_REGNO_REG_SET (dead, i);
if (significant)
SET_REGNO_REG_SET (significant, i);
}
/* The stack ptr is used (honorarily) by a CALL insn. */ /* The stack ptr is used (honorarily) by a CALL insn. */
SET_REGNO_REG_SET (live, STACK_POINTER_REGNUM); SET_REGNO_REG_SET (live, STACK_POINTER_REGNUM);
......
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