* combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
ARG_SIZE note when adjustment was eliminated.
From-SVN: r206943
+2014-01-22 Jan Hubicka <jh@suse.cz>
+
+ * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
+ ARG_SIZE note when adjustment was eliminated.
+
2014-01-22 Jeff Law <law@redhat.com>
PR tree-optimization/59597
&& 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
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;
}
}