https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2024-08-23
Status|UNCONFIRMED |WAITING
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I can't reproduce this with the trunk nor with GCC 14, I get:
```
main:
.LFB0:
.cfi_startproc
lea ecx, [esp+4]
.cfi_def_cfa 1, 0
and esp, -16
push DWORD PTR [ecx-4]
push ebp
mov ebp, esp
.cfi_escape 0x10,0x5,0x2,0x75,0
push ecx
.cfi_escape 0xf,0x3,0x75,0x7c,0x6
sub esp, 20
mov DWORD PTR [ebp-16], 123
mov DWORD PTR [ebp-12], 456
mov edx, DWORD PTR [ebp-12]
mov eax, DWORD PTR [ebp-16]
sub esp, 4
push edx
push eax
push OFFSET FLAT:.LC0
call printf
add esp, 16
mov eax, 0
mov ecx, DWORD PTR [ebp-4]
.cfi_def_cfa 1, 0
leave
.cfi_restore 5
lea esp, [ecx-4]
.cfi_def_cfa 4, 4
ret
```
Are you sure you don't have some patch which breaks this?