This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v5] Allocate constant size dynamic stack space in the prologue


> 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-


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]