[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] BUG: called function should pop the arguments when using
[Tinycc-devel] BUG: called function should pop the arguments when using fastcall
Mon, 21 Aug 2017 19:54:40 +0800
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
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.
Description: Text Data
- [Tinycc-devel] BUG: called function should pop the arguments when using fastcall,