[cfe-dev] alignment of local variables

Akira Hatanaka ahatanak at gmail.com
Mon Mar 28 10:40:43 PDT 2011


I understand it is probably not right to ignore alignment attributes in the
source code, but I just wanted to know if it is an option, because some gcc
backends (e.g. mips) seem to do that.

On Mon, Mar 28, 2011 at 10:35 AM, Eric Christopher <echristo at apple.com>wrote:

>
> On Mar 28, 2011, at 10:28 AM, Akira Hatanaka wrote:
>
> > I just wanted to know if it is absolutely necessary to implement dynamic
> stack realignment in the backend. If the maximum alignment is no larger than
> the default alignment of the run-time stack, you won't have to adjust the
> stack pointer at run-time.
>
> You'll run into other problems where people have requested an alignment and
> then depend upon it.
>
> -eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110328/94342f9d/attachment.html>


More information about the cfe-dev mailing list