https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
Mingye Wang <arthur200126 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur200126 at gmail dot com --- Comment #30 from Mingye Wang <arthur200126 at gmail dot com> --- One of the weird probably SEH-related things is that the lack-of-alignment behavior of comment 28 and attachment 1 is not reproduced on a "normal" Linux GCC with __attribute__((ms_abi)) sprinkled all over to get the right calling convention. The code takes the same shape, uses mostly the same registers, but the `and rsp, -32` is just either not there or placed wrong.