On 04/29/2016 04:12 PM, Dominik Vogt wrote:
The attached patch removes excess stack space allocation with
alloca in some situations.  Plese check the commit message in the
patch for details.

Ciao

Dominik ^_^  ^_^

-- Dominik Vogt IBM Germany


0001-ChangeLog


gcc/ChangeLog

        * explow.c (round_push): Use know adjustment.
        (allocate_dynamic_stack_space): Pass known adjustment to round_push.
If I understand the state of this patch correctly, you're working on another iteration, so I'm not going to dig into this version.

However, I would strongly recommend some tests, even if they are target specific. You can always copy pr36728-1 into the s390x directory and look at size of the generated stack. Simliarly for pr50938 for x86.

jeff

Reply via email to