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]

Re: PREFERRED_STACK_BOUNDARY/function calling code fix


> Jan,
> 
> I noticed that you recently posted some patches for the stack alignment
> code in gcc.  I was wondering, does your revised alignment code fix the bug
> for alignment of nested function calls that I've posted to gcc-bugs?  See:
> 
> 	http://gcc.gnu.org/ml/gcc-bugs/2000-01/msg00550.html
> 
> for information and a small test program.

This is partially handled by Jasons's patch (commited) and my followup (not
reviewed yet).
I believe there will be still missaslignment, when nested call appears as the
first pushed argument due to pending_stack_alignment optimization.
I would like to reorganize this code in near future, since it is completely
weird and unmainable, so I hope to fix the remaining problems as the side
effect.

Honza
> 
> Thanks for your work on gcc!
> 
> Cordially,
> Steven G. Johnson
> 

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