aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/calls.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index ed92ce7..9b49f87 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -2515,10 +2515,6 @@ expand_call (exp, target, ignore)
optimized. */
|| (flags & (ECF_RETURNS_TWICE | ECF_LONGJMP | ECF_NORETURN))
|| TYPE_VOLATILE (TREE_TYPE (TREE_TYPE (addr)))
- /* If the called function is nested in the current one, it might access
- some of the caller's arguments, but could clobber them beforehand if
- the argument areas are shared. */
- || decl_function_context (fndecl) == current_function_decl
/* If this function requires more stack slots than the current
function, we cannot change it into a sibling call. */
|| args_size.constant > current_function_args_size