diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-10-18 23:09:53 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-10-18 23:09:53 +0000 |
commit | 8357380988b58dfce38da9304701c480c2c49462 (patch) | |
tree | 4366df222f5884418a2cab2d67ad1393559e8d92 | |
parent | 2420fc254624b5847c3267b19608cd038ea27f25 (diff) | |
download | gcc-8357380988b58dfce38da9304701c480c2c49462.tar.gz |
(propagate_block): Call mark_used_regs to show global regs used by
call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8304 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/flow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/flow.c b/gcc/flow.c index 68ca7649194..76ef544bfd4 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -1521,11 +1521,11 @@ propagate_block (old, first, last, final, significant, bnum) /* Calls may also reference any of the global registers, so they are made live. */ - for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) if (global_regs[i]) - live[i / REGSET_ELT_BITS] - |= ((REGSET_ELT_TYPE) 1 << (i % REGSET_ELT_BITS)); + mark_used_regs (old, live, + gen_rtx (REG, reg_raw_mode[i], i), + final, insn); /* Calls also clobber memory. */ last_mem_set = 0; |