https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Richard Biener from comment #3)
> It probably implements what we do but changing 32 to 1024*1024 shows that we
> (possibly up to MAX_OFILE_ALIGNMENT) align parameters to arbitrarily high

X86 backend can align stack up to MAX_OFILE_ALIGNMENT.

> values.  Maybe we should cap that to some value (but make sure to not run
> into issues like PR89544).
> 
> The footnote could cite an example using _Alignas.

We don't need a limit in psABI.  But GCC can set a reasonable limit like
MAX_OFILE_ALIGNMENT.

Reply via email to