On Windows, with current tcc mob, both tcc-32 and tcc-64
print 17, as do mingw gcc 32 and 64 on Windows.
On linux (Ubuntu 64), tcc-mob also prints 17 for me, as does gcc.
FYI,
avih
On Thursday, February 13, 2025 at 04:11:18 PM GMT+2, DFP via Tinycc-devel
wrote:
Hello.
va_arg seems to
Hello.
va_arg seems to take the value from unexpected location on x86_64, in a case
where a variable argument function returns a struct that is larger than 16
bytes. I tested on plain x86 (32 bit) via JSLinux
(https://bellard.org/jslinux/vm.html?url=alpine-x86-xwin.cfg&mem=256&graphic=1)
and t