Files
ww/test/wcc/949_oddstruct_byval_ret_run.c
Hojun-Cho 1466f50a09 w6c: receive sub-8 odd-sized by-value struct/array CALL return (#107)
A struct/array sized {3,5,6,7} returned by value fell past every N_LET call-receive arm (the sized-tail arm handles {1,2,4}, the memcpy arm gates on sz>8), so cstage emitted nothing and silently DROPPED the CALL — garbage exit plus a gate-blind cs!=ww divergence (wwstage emitted CALL+MOVQ via its generic let fallback). Align cstage UP: emit the CALL + one MOVQ AX, the SysV single-eightbyte receive (ref/qbe/amd64/sysv.c retr). New table-driven gate 949 (runtime exit oracle on both drivers + cs==ww byte-id; negative-control proven).
2026-06-19 12:47:23 +09:00

8.5 KiB