Commit 4cf8614f by Richard Kenner

(schedule_block): CALL_INSNs don't affect fixed regs.

From-SVN: r11648
parent 5bb3d1dd
...@@ -3823,7 +3823,8 @@ schedule_block (b, file) ...@@ -3823,7 +3823,8 @@ schedule_block (b, file)
for those mentioned in the call pattern which will be for those mentioned in the call pattern which will be
made live again later. */ made live again later. */
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] && ! fixed_regs[i])
|| global_regs[i])
{ {
register int offset = i / REGSET_ELT_BITS; register int offset = i / REGSET_ELT_BITS;
register REGSET_ELT_TYPE bit register REGSET_ELT_TYPE bit
......
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