[Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin*

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 12 11:01:00 GMT 2018


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

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #4)
> So, what we want to achieve here?
AFAICS, the compiler figures out that the called function requires only 64bit
alignment and lowers the alignment requirements at the call site. So, although
the callee is not leaf, it gets "misaligned" to 64 bit.

If there are additional requirements for the alignment at call site (c.f.
Description), then the patch in Comment #2 is correct.


More information about the Gcc-bugs mailing list