This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Drop excess size used for run time allocated stack variables.
- From: Dominik Vogt <vogt at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Date: Fri, 29 Apr 2016 23:15:13 +0100
- Subject: Re: [PATCH] Drop excess size used for run time allocated stack variables.
- Authentication-results: sourceware.org; auth=none
- References: <20160429221242 dot GA2205 at linux dot vnet dot ibm dot com>
- Reply-to: vogt at linux dot vnet dot ibm dot com
P.S.: Bootstrapped and regression tested on s390, s390x and
x86_64.
--
I'm not sure whether something has to be done about the else
branch in round_push too:
else
{
/* If crtl->preferred_stack_boundary might still grow, use
virtual_preferred_stack_boundary_rtx instead. This will be
substituted by the right value in vregs pass and optimized
during combine. */
align_rtx = virtual_preferred_stack_boundary_rtx;
add_rtx = force_operand (plus_constant (Pmode, align_rtx, -1), NULL_RTX);
}
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany