From 1ee86d15987799b9142cdb32e8e07c500681a76e Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 6 May 1994 13:44:56 -0400 Subject: [PATCH] (expand_builtin... (expand_builtin, case BUILT_IN_ALLOCA): Don't set current_function_calls_alloca here nor record new stack level for nonlocal gotos. From-SVN: r7230 --- gcc/expr.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/gcc/expr.c b/gcc/expr.c index 2716b0865fb..ddebff23212 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -7080,17 +7080,12 @@ expand_builtin (exp, target, subtarget, mode, ignore) /* Arg could be non-integer if user redeclared this fcn wrong. */ || TREE_CODE (TREE_TYPE (TREE_VALUE (arglist))) != INTEGER_TYPE) break; - current_function_calls_alloca = 1; + /* Compute the argument. */ op0 = expand_expr (TREE_VALUE (arglist), NULL_RTX, VOIDmode, 0); /* Allocate the desired space. */ - target = allocate_dynamic_stack_space (op0, target, BITS_PER_UNIT); - - /* Record the new stack level for nonlocal gotos. */ - if (nonlocal_goto_handler_slot != 0) - emit_stack_save (SAVE_NONLOCAL, &nonlocal_goto_stack_level, NULL_RTX); - return target; + return allocate_dynamic_stack_space (op0, target, BITS_PER_UNIT); case BUILT_IN_FFS: /* If not optimizing, call the library function. */ -- 2.30.2