History

Vla fix for 64 bits targets

herman ten brugge committed 4 years ago

Commit 291eccc1 parent 719d9661 file · +4 −0Browse files

Unified · Split

tccgen.c+4−0
@@ -3945,7 +3945,11 @@ static void vpush_type_size(CType *type, int *a) · 3944 unmodified lines
3945 int size = type_size(type, a);3945 int size = type_size(type, a);
3946 if (size < 0)3946 if (size < 0)
3947 tcc_error("unknown type size");3947 tcc_error("unknown type size");
3948#if PTR_SIZE == 8
3949 vpushll(size);
3950#else
3948 vpushi(size);3951 vpushi(size);
3952#endif
3949 }3953 }
3950}3954}
3951 3955

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t