This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]