Hi,
On Sat, Dec 07, 2019 at 11:34:11AM +0100, Ulrich Schmidt wrote:
> - The in scenario1 unloved 1 function parameter can be ignored and the
> values stored locally:
> #define LIBPARAM1
> #define VALUE(v) v
> ..
>
> somereturn somefunc(LIBPARAM1 ...) {
> VALUE(count) = 0;
> ...
>
Hello.
After reading all your posts. I see there are 2 scenarios/goals in the
comunity.
scenario 1:
I want a tiny and fast c compiler (tcc/tcc.exe).
In this case the TCCSTate struct is not needed at all and dereferencing
TCCState fields slows down execution. Making TCCStruct fields local
would
Hello !
I went to the trouble of making tcc fully reentrant but it was not
accepted https://github.com/mingodad/tinycc which is sad.
Cheers !
On 6/12/19 22:16, Charles Lohr wrote:
Is there a reason you don't just compile tcc in tcc to make the tcc
instance that is basically then reentrant?