Windows-style fastcall imho implemented with error.
Try to compile and execute following code with tcc:

> cat fast.c

//----------------------------------
// begin
#include <stdio.h>

int __fastcall fn(int a, long double b/*should not placed in register*/)
{ return a+b;);

main()
{
printf("%i", fn(1, 2.0));
}
// end
//----------------------------------

Maybe even though I patched tcc incorrectly?


_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to