diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2004-07-21 19:23:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2004-07-21 19:23:03 +0000 |
commit | caf93cb0d55b2a7d00eee250b5880a53205eef7c (patch) | |
tree | 62d1d9e6aa0313957234dd1e34bd0b74115418e7 /gcc/calls.c | |
parent | d942072cb0b0ffebeff215e3ee182e882ffcbf9e (diff) | |
download | gcc-caf93cb0d55b2a7d00eee250b5880a53205eef7c.zip gcc-caf93cb0d55b2a7d00eee250b5880a53205eef7c.tar.gz gcc-caf93cb0d55b2a7d00eee250b5880a53205eef7c.tar.bz2 |
builtins.c (expand_builtin_setjmp_receiver): Fix comment for code removal.
2004-07-21 Eric Christopher <echristo@redhat.com>
* builtins.c (expand_builtin_setjmp_receiver): Fix comment for code
removal.
* c-decl.c (pop_scope): Ditto.
* calls.c (expand_call): Remove call to current_nesting_level,
update comment accordingly. Remove calls to expand_start_target_temps
and expand_end_target_temps.
* cfgexpand.c (construct_init_block): Remove call to
expand_start_bindings_and_block.
(construct_exit_block): Remove call to expand_end_bindings.
* expr.c (safe_from_p): Remove BIND_EXPR handling.
(expand_expr_real_1): Ditto. Fix formatting.
(expand_vars): Delete.
* stmt.c (POPSTACK): Remove block_stack.
(stmt_status): Remove x_block_stack.
(block_stack): Delete.
(expand_start_bindings_and_block): Ditto.
(expand_start_target_temps): Ditto.
(expand_end_target_temps): Ditto.
(current_nesting_level): Ditto.
(warn_about_unused_variables): Ditto.
(expand_end_bindings): Ditto.
* tree.h: Remove declarations for above.
2004-07-21 Eric Christopher <echristo@redhat.com>
* decl.c (poplevel): Inline unused variable checking.
Change formatting.
From-SVN: r85019
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index c48fd82..d83b419 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2232,15 +2232,11 @@ expand_call (tree exp, rtx target, int ignore) finished with regular parsing. Which means that some of the machinery we use to generate tail-calls is no longer in place. This is most often true of sjlj-exceptions, which we couldn't - tail-call to anyway. + tail-call to anyway. */ - If current_nesting_level () == 0, we're being called after - the function body has been expanded. This can happen when - setting up trampolines in expand_function_end. */ if (currently_expanding_call++ != 0 || !flag_optimize_sibling_calls || !rtx_equal_function_value_matters - || current_nesting_level () == 0 || args_size.var || lookup_stmt_eh_region (exp) >= 0) try_tail_call = 0; @@ -2372,15 +2368,6 @@ expand_call (tree exp, rtx target, int ignore) sibcall_failure instead of continuing the loop. */ start_sequence (); - if (pass == 0) - { - /* We know at this point that there are not currently any - pending cleanups. If, however, in the process of evaluating - the arguments we were to create some, we'll need to be - able to get rid of them. */ - expand_start_target_temps (); - } - /* Don't let pending stack adjusts add up to too much. Also, do all pending adjustments now if there is any chance this might be a call to alloca or if we are expanding a sibling @@ -3093,14 +3080,6 @@ expand_call (tree exp, rtx target, int ignore) if (args[i].aligned_regs) free (args[i].aligned_regs); - if (pass == 0) - { - /* Undo the fake expand_start_target_temps we did earlier. If - there had been any cleanups created, we've already set - sibcall_failure. */ - expand_end_target_temps (); - } - /* If this function is returning into a memory location marked as readonly, it means it is initializing that location. We normally treat functions as not clobbering such locations, so we need to specify that |