[PATCH v5] Allocate constant size dynamic stack space in the prologue
Andreas Krebbel
krebbel@linux.vnet.ibm.com
Mon Jul 18 13:11:00 GMT 2016
> gcc/ChangeLog
>
> * cfgexpand.c (expand_stack_vars): Implement synamic stack space
> allocation in the prologue.
> * explow.c (get_dynamic_stack_base): New function to return an address
> expression for the dynamic stack base.
> (get_dynamic_stack_size): New function to do the required dynamic stack
> space size calculations.
> (allocate_dynamic_stack_space): Use new functions.
> (align_dynamic_address): Move some code from
> allocate_dynamic_stack_space to new function.
> * explow.h (get_dynamic_stack_base, get_dynamic_stack_size): Export.
> gcc/testsuite/ChangeLog
>
> * gcc.target/s390/warn-dynamicstack-1.c: New test.
> * gcc.dg/stack-usage-2.c (foo3): Adapt expected warning.
> stack-layout-dynamic-1.c: New test.
Applied. Thanks!
-Andreas-
More information about the Gcc-patches
mailing list