This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin*
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Nov 2018 12:06:34 +0000
- Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin*
- Auto-submitted: auto-generated
- References: <bug-78444-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78444
--- Comment #15 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Iain Sandoe from comment #14)
> > I think that adding
> >
> > if (TARGET_MACHO && crtl->profile)
> > {
> > crtl->preferred_stack_boundary = 128;
> > crtl->stack_alignment_needed = 128;
> > }
> >
> > should be the fail-safe solutiom.
>
> or I could add "|| (TARGET_MACHO && crtl->profile)" to the existing list (so
> that it doesn't fire for MS).
Sure, I was just trying to be explicit.