> For Windows x86-32 targets, the Microsoft ABI only guarantees that the > stack is aligned to 4-byte boundaries. GCC knows about the default > alignment of the stack. However, before this commit, it did not realign the > stack unless SSE was also enabled. > > When a stricter (larger) alignment is requested, it's always necessary to > realign the stack, as what Solaris does.
Yes, or else if you configure the compiler --with-fpmath=sse (which is IMO the right thing to do for native 32-bit x86 platforms nowadays). > PR target/111107 > * config/i386/cygming.h (STACK_REALIGN_DEFAULT): Copy from sol2.h. FWIW looks good to me. -- Eric Botcazou