<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 28, 2011, at 10:40 AM, Akira Hatanaka wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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. <br></blockquote><div><br></div>We don't currently have a way to do this, but we could add it.  We'd just add a "MaxStackAlignment" setting to target info (the default being "none") and targets could specify their limits this way.</div><div><br></div><div>-Chris</div><div><br></div><div><br></div><div><br><blockquote type="cite"> <br><div class="gmail_quote">
On Mon, Mar 28, 2011 at 10:35 AM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@apple.com">echristo@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Mar 28, 2011, at 10:28 AM, Akira Hatanaka wrote:<br>
<br>
> 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.<br>

<br>
</div>You'll run into other problems where people have requested an alignment and then depend upon it.<br>
<font color="#888888"><br>
-eric<br>
</font></blockquote></div><br>
_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></body></html>