aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.cc
diff options
context:
space:
mode:
authorLIU Hao <lh_mouse@126.com>2025-04-27 18:18:34 +0800
committerJonathan Yong <10walls@gmail.com>2025-04-28 00:48:33 +0000
commitdea7b9a78b11b5ca0c85b971521144ba07a66aca (patch)
tree78ff27470374ab42471147f29f46a2186071e674 /gcc/fortran/expr.cc
parent346c62c60b88fa6ff123bfc6159f61e865ac8750 (diff)
downloadgcc-dea7b9a78b11b5ca0c85b971521144ba07a66aca.zip
gcc-dea7b9a78b11b5ca0c85b971521144ba07a66aca.tar.gz
gcc-dea7b9a78b11b5ca0c85b971521144ba07a66aca.tar.bz2
gcc: For Windows x86-32, always attempt to realign stack regardless of SSE
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. Reference: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111107#c14 Signed-off-by: LIU Hao <lh_mouse@126.com> Signed-off-by: Jonathan Yong <10walls@gmail.com> gcc/ChangeLog: PR target/111107 * config/i386/cygming.h (STACK_REALIGN_DEFAULT): Copy from sol2.h.
Diffstat (limited to 'gcc/fortran/expr.cc')
0 files changed, 0 insertions, 0 deletions