[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 6 09:06:00 GMT 2016


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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com

--- Comment #12 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Eric Botcazou from comment #11)
> > Yes, forced stack alignment on x86_64 was introduced after 5.2, in r228728
> > for pr66697. Also, I can confirm that adding -fno-omit-frame-pointer allows
> > Wine to compile normally.
> 
> I see, thanks.  Uros, would you mind having a look?  I don't know this stuff.

Ugh ... prologue and epilogue generation is not exactly the most pleasant part
of the compiler. There are many different fragile code paths, so no wonder that
with specialized options something breaks in this area.

Looking into it.


More information about the Gcc-bugs mailing list