张博洋 wrote:
Hello,
I found that TCC implement 'fastcall' that the calling function pops
arguments. However, according to MSDN
(https://msdn.microsoft.com/en-us/library/6xa169sk.aspx), the called
function should pop arguments when using fastcall.
I provided a patch and I have already pushed it to the mob branch,
since I'm new to TCC and compilers, please review my patch carefully.
I also wrote a test case which is in attachments, you may use the
testcase to discover the problem.
Did someone try this on Linux? The wanted behavior might be different.
-- gr
Thanks
Zhang Boyang
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel