I am using...
tcc version 0.9.27 HEAD:d3e940c (AArch64 Darwin)
I want to know the size of a string literal:
#include <stdio.h>
int main() {
printf("%d\n", sizeof("this is a string"));
}
With clang, I see 17.
With tcc, I see 1828565760 (a different large, wrong number each time I execute).
Is this expected behavior or a known issue? Should I use an older or newer version of TCC?
And just out of curiosity, does anyone have a tool that does a binary search of TCC versions to find which version introduced a regression?
-- Karl
_______________________________________________