https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111107
--- Comment #22 from LIU Hao <lh_mouse at 126 dot com> --- (In reply to Zeb Figura from comment #0) > Minimal example: > > typedef int myint[4] __attribute__((aligned(16))); > > extern void g(void *); > > void f(void) > { > myint a; > g(&a); > } > > Would you please check whether the commit above fixes the issue? I have bootstrapped GCC 15.1 on i686-w64-mingw32 with a backported patch, and compiling your example I get: ``` E:\lh_mouse\Desktop>gcc test.c -mno-sse -O2 -c E:\lh_mouse\Desktop>objdump -drw test.o test.o: file format pe-i386 Disassembly of section .text: 00000000 <_f>: 0: 55 push ebp 1: 89 e5 mov ebp,esp 3: 83 e4 f0 and esp,0xfffffff0 6: 8d 64 24 e0 lea esp,[esp-0x20] a: 8d 44 24 10 lea eax,[esp+0x10] e: 89 04 24 mov DWORD PTR [esp],eax 11: e8 00 00 00 00 call 16 <_f+0x16> 12: DISP32 _g 16: 89 ec mov esp,ebp 18: 5d pop ebp 19: c3 ret ```