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] Fix a clash between temp_slot and add_frame_space free stack slot handling (PR middle-end/47893)


On 02/26/2011 07:31 AM, Jakub Jelinek wrote:
> 2011-02-25  Bernd Schmidt  <bernds@codesourcery.com>
> 	    Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR middle-end/47893
> 	* rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define.
> 	(assign_stack_local_1): Change last argument type to int.
> 	* function.c (assign_stack_local_1): Replace reduce_alignment_ok
> 	argument with kind.  If bit ASLK_RECORD_PAD is not set in it,
> 	don't record padding space into frame_space_list nor
> 	use those areas.
> 	(assign_stack_local): Adjust caller.
> 	(assign_stack_temp_for_type): Call assign_stack_local_1 instead
> 	of assign_stack_local, pass 0 as last argument.
> 	* caller-save.c (setup_save_areas): Adjust assign_stack_local_1
> 	callers.
> 
> 	* gcc.dg/pr47893.c: New test.

Ok.


r~


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