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
39453945 int size = type_size(type, a);
39463946 if (size < 0)
39473947 tcc_error("unknown type size");
3948+#if PTR_SIZE == 8
3949+ vpushll(size);
3950+#else
39483951 vpushi(size);
3952+#endif
39493953 }
39503954 }
39513955

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