[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Bug in windows-style fastcall
From: |
PerfectDark |
Subject: |
[Tinycc-devel] Bug in windows-style fastcall |
Date: |
Sat, 1 Oct 2005 17:35:30 +0400 (MSD) |
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] Bug in windows-style fastcall,
PerfectDark <=