Hi! A problem may be caused by error in the tcc preprocessor. A test program:
===
//#define REGPAM_GOOD_EXAMPLE
#ifndef REGPAM_GOOD_EXAMPLE
#include <stdio.h>
#endif
#define FASTCALL __attribute__((regparm(3)))
int FASTCALL __bound_local_new(int p)
{
int c = p;
return c;
}
int main ()
{
__bound_local_new(10);
return 0;
}
===
If a <stdio.h> file is included, then a FASTCALL macro is substituted
by the empty string. Very nice behavior!
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel