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

--- Comment #11 from programmerjake at gmail dot com ---
(In reply to programmerjake from comment #10)
> (In reply to bouanto from comment #9)
> > Does gcc provide a way to specify whether the stack should be aligned
> > properly, or is it done automatically, or should it be specified manually in
> > asm_template with a string like ".align 32"?
> 
> using ".align 32" in the assembly string would align the machine code
> instead of the stack, so that's probably not what you want.
> 
> From what I understand, gcc doesn't currently provide a way to align the
> stack for inline assembly even in C.

However, I think it would be a good idea to have a parameter/flag set aside for
supporting aligning the stack for when GCC gains support for that, the flag can
just cause an error for now.

Reply via email to