aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-11-04 13:29:59 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-11-04 13:29:59 -0500
commite5884dacd58235ba11d43a627087fbb36d1d55ad (patch)
tree49c25e9f7c13615210be2b987cd9f271619d5e32
parenta8e2f17947a53da34dab7b0b6050ea2eee326bc5 (diff)
downloadgcc-e5884dacd58235ba11d43a627087fbb36d1d55ad.zip
gcc-e5884dacd58235ba11d43a627087fbb36d1d55ad.tar.gz
gcc-e5884dacd58235ba11d43a627087fbb36d1d55ad.tar.bz2
(expand_function_start): If not optimizing, ensure we mark context
display regs as live for the entire function. From-SVN: r5995
-rw-r--r--gcc/function.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index aa7149c..53918e9 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -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