]> gcc.gnu.org Git - gcc.git/commitdiff
(propagate_block): Call mark_used_regs to show global regs used by
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 18 Oct 1994 23:09:53 +0000 (19:09 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 18 Oct 1994 23:09:53 +0000 (19:09 -0400)
call.

From-SVN: r8304

gcc/flow.c

index 68ca76491945a84a8cf2b0caf07462b5af76232e..76ef544bfd4cc72b86ec6ea905982b750f5af8a5 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;
This page took 0.07241 seconds and 5 git commands to generate.