(expand_function_start): If not optimizing, ensure we mark context
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 4 Nov 1993 18:29:59 +0000 (13:29 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 4 Nov 1993 18:29:59 +0000 (13:29 -0500)
display regs as live for the entire function.

From-SVN: r5995

gcc/function.c

index aa7149c983d1da9c7b2ed75df58aad8643d59bf3..53918e9bb99b0275b3f8312361621ae6e7df4f7b 100644 (file)
@@ -4860,6 +4860,12 @@ expand_function_start (subr, parms_have_cleanups)
 #endif
       last_ptr = copy_to_reg (gen_rtx (MEM, Pmode,
                                       memory_address (Pmode, last_ptr)));
+
+      /* If we are not optimizing, ensure that we know that this
+        piece of context is live over the entire function.  */
+      if (! optimize)
+       save_expr_regs = gen_rtx (EXPR_LIST, VOIDmode, last_ptr,
+                                 save_expr_regs);
     }
 
   /* After the display initializations is where the tail-recursion label