aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-05-06 13:46:14 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-05-06 13:46:14 -0400
commitcac1105ce5f0e7c78071dc0509fab28f17b9cd35 (patch)
treefbc4d84d2652939cd8144fa902f56389a32a60fd /gcc
parent1ee86d15987799b9142cdb32e8e07c500681a76e (diff)
downloadgcc-cac1105ce5f0e7c78071dc0509fab28f17b9cd35.zip
gcc-cac1105ce5f0e7c78071dc0509fab28f17b9cd35.tar.gz
gcc-cac1105ce5f0e7c78071dc0509fab28f17b9cd35.tar.bz2
(expand_decl): Don't set current_function_calls_alloca here nor record
new stack level for nonlocal gotos. From-SVN: r7231
Diffstat (limited to 'gcc')
-rw-r--r--gcc/stmt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index c056bb3..4af0f31 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -3204,16 +3204,10 @@ expand_decl (decl)
NULL_RTX, VOIDmode, 0);
free_temp_slots ();
- /* This is equivalent to calling alloca. */
- current_function_calls_alloca = 1;
-
/* Allocate space on the stack for the variable. */
address = allocate_dynamic_stack_space (size, NULL_RTX,
DECL_ALIGN (decl));
- if (nonlocal_goto_handler_slot != 0)
- emit_stack_save (SAVE_NONLOCAL, &nonlocal_goto_stack_level, NULL_RTX);
-
/* Reference the variable indirect through that rtx. */
DECL_RTL (decl) = gen_rtx (MEM, DECL_MODE (decl), address);