+2010-12-14 Thomas Klein <th.r.klein@web.de>
+
+ * config/arm/arm.c (arm_expand_prologue): Report the static stack
+ size if -fstack-usage is used.
+ (thumb1_expand_prologue): Likewise.
+
2010-12-14 Jakub Jelinek <jakub@redhat.com>
PR debug/46885
}
}
+ if (flag_stack_usage)
+ current_function_static_stack_size
+ = offsets->outgoing_args - offsets->saved_args;
+
if (offsets->outgoing_args != offsets->saved_args + saved_regs)
{
/* This add can produce multiple insns for a large constant, so we
emit_move_insn (gen_rtx_REG (Pmode, ARM_HARD_FRAME_POINTER_REGNUM),
stack_pointer_rtx);
+ if (flag_stack_usage)
+ current_function_static_stack_size
+ = offsets->outgoing_args - offsets->saved_args;
+
amount = offsets->outgoing_args - offsets->saved_regs;
amount -= 4 * thumb1_extra_regs_pushed (offsets, true);
if (amount)