[PATCH, middle-end]: Fix PR 36584, Stack is not aligned correctly in recursive function

Uros Bizjak ubizjak@gmail.com
Sat Jun 21 15:14:00 GMT 2008


Uros Bizjak wrote:

> 2008-06-21  Uros Bizjak  <ubizjak@gmail.com>
>
>    PR middle-end/PR36584
>    * calls.c (expand_call): Increase alignment for recursive functions.
>
> testsuite/ChangeLog:
>
> 2008-06-21  Uros Bizjak  <ubizjak@gmail.com>
>
>    PR middle-end/PR36584
>    * testsuite/gcc.dg/pr36584.c: New test.
>
>
> Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu. 
> OK for mainline and 4.3?

I forgot to mention that gcc.target/i386/local2.c test that tests on 
i386 for this invalid optimization should be removed.

Uros.



More information about the Gcc-patches mailing list