OSDN Git Service

* explow.c (optimize_save_area_alloca): New function for targets
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Jan 1998 22:39:10 +0000 (22:39 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Jan 1998 22:39:10 +0000 (22:39 +0000)
commitae5e3e3f8239356ebcf98e94b44b9efb3e361c16
tree1f934b95444c015d58fbf51e1ea0158ab47cbbea
parent25938e6ac01e0b99ac6e6c434d380a022eada2cd
    * explow.c (optimize_save_area_alloca): New function for targets
        where SETJMP_VIA_SAVE_AREA is true.
        (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
        compute the amount of stack space needed should we find later that
        setjmp is never called by this function, stuff rtl for this inside
        a REG_NOTE of the final SET of stack_pointer_rtx.
        * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
        current_function_calls_alloca, call optimize_save_area_alloca.
CVS ----------------------------------------------------------------------

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17402 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/explow.c
gcc/toplev.c