diff options
Diffstat (limited to 'gcc/function.c')
| -rw-r--r-- | gcc/function.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/gcc/function.c b/gcc/function.c index 975ecdd..7601c94 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -7058,7 +7058,8 @@ thread_prologue_and_epilogue_insns (f)        /* If this function returns with the stack depressed, massage  	 the epilogue to actually do that.  */ -      if (TYPE_RETURNS_STACK_DEPRESSED (TREE_TYPE (current_function_decl))) +      if (TREE_CODE (TREE_TYPE (current_function_decl)) == FUNCTION_TYPE +	  && TYPE_RETURNS_STACK_DEPRESSED (TREE_TYPE (current_function_decl)))  	keep_stack_depressed (seq);        emit_jump_insn (seq); | 
