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, middle-end]: Fix PR 36584, Stack is not aligned correctly in recursive function


On Sat, Jun 21, 2008 at 4:38 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> 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.

IMHO the patch looks obvious and this optimization is invalid.  But as
I'm curious - can
you try to dig in the history to for what reason it was added?

The patch is nevertheless ok.

Thanks,
Richard.


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