summaryrefslogtreecommitdiff
path: root/gcc/combine-stack-adj.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-05 18:42:19 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-05 18:42:19 +0000
commit617529e8d37eb3b3d1d5f3c107a0e34ec7562051 (patch)
tree4e9ff9fb805d73c0c48089ece8cf85aba6937092 /gcc/combine-stack-adj.c
parent1ba7e31ff9a09e42074aa08d7c649a1e8981d52b (diff)
downloadgcc-617529e8d37eb3b3d1d5f3c107a0e34ec7562051.tar.gz
PR debug/52727
* combine-stack-adj.c: Revert r206943. * sched-int.h (struct deps_desc): Add last_args_size. * sched-deps.c (init_deps): Initialize it. (sched_analyze_insn): Add OUTPUT dependencies between insns that contain REG_ARGS_SIZE notes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine-stack-adj.c')
-rw-r--r--gcc/combine-stack-adj.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/combine-stack-adj.c b/gcc/combine-stack-adj.c
index c591c604b8a..69fd5ea77e3 100644
--- a/gcc/combine-stack-adj.c
+++ b/gcc/combine-stack-adj.c
@@ -567,7 +567,6 @@ combine_stack_adjustments_for_block (basic_block bb)
&& try_apply_stack_adjustment (insn, reflist, 0,
-last_sp_adjust))
{
- rtx note;
if (last2_sp_set)
maybe_move_args_size_note (last2_sp_set, last_sp_set, false);
else
@@ -577,11 +576,6 @@ combine_stack_adjustments_for_block (basic_block bb)
reflist = NULL;
last_sp_set = NULL_RTX;
last_sp_adjust = 0;
- /* We no longer adjust stack size. Whoever adjusted it earlier
- hopefully got the note right. */
- note = find_reg_note (insn, REG_ARGS_SIZE, NULL_RTX);
- if (note)
- remove_note (insn, note);
continue;
}
}