From 4cf8614f1e706a27ca33d289a0c82a9315e55926 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 31 Mar 1996 17:59:20 -0500 Subject: [PATCH] (schedule_block): CALL_INSNs don't affect fixed regs. From-SVN: r11648 --- gcc/sched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/sched.c b/gcc/sched.c index d690a825a8f..0617be309aa 100644 --- a/gcc/sched.c +++ b/gcc/sched.c @@ -3823,7 +3823,8 @@ schedule_block (b, file) for those mentioned in the call pattern which will be made live again later. */ 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 REGSET_ELT_TYPE bit