OSDN Git Service

(propagate_block): Call mark_used_regs to show global regs used by
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Oct 1994 23:09:53 +0000 (23:09 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Oct 1994 23:09:53 +0000 (23:09 +0000)
call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8304 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/flow.c

index 68ca764..76ef544 100644 (file)
@@ -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;