rui314 / chibicc

A small C compiler
MIT License
9.67k stars 881 forks source link

There is an error in copy_struct_reg #117

Open PiNengShaoNian opened 1 year ago

PiNengShaoNian commented 1 year ago

https://github.com/rui314/chibicc/blob/90d1f7f199cc55b13c7fdb5839d1409806633fdb/codegen.c#L635

if (ty->size == 4) should be if (ty->size == 12)