* function.c (try_fit_stack_local, add_frame_space): New static
commit43165fe4e5cdb3c9fe27cd8fb87a577b33f291ee
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 2010 11:16:00 +0000 (17 11:16 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 2010 11:16:00 +0000 (17 11:16 +0000)
tree134ce3aa4098037a175571e45c5fbc2d2a49bbd1
parent776274ce5365282eb56797ba85a14102d09db061
* function.c (try_fit_stack_local, add_frame_space): New static
functions.
(assign_stack_local_1): Use them.  Look for opportunities to use
space previously wasted on alignment.
* function.h (struct frame_space): New.
(struct rtl_data): Add FRAME_SPACE_LIST member.
* reload1.c (something_was_spilled): New static variable.
(alter_reg): Set it.
(reload): Test it in addition to testing if the frame size changed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159480 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/function.c
gcc/function.h
gcc/reload1.c