Hi folks,
I'm using TCC-0.9.16 and in one of my 'think faster than
write' pahses I've stumbled across a bug:
This simple program causes a segmentation fault instead
of giving a compiler error both as a shell script and
when compiling with tcc:
-------- segmfault.c -----
#!/usr/local/bin/tcc
#include <tcclib.h>
int main(int argc, char **argv)
{
struct *slowfinger;
printf( "I should get an error message\n"
" and not a segmentation fault!!\n");
}
---------------------------
In a similar situation, GCC says:
segmfault.c: In function 'main'
segmfault.c:7: parse error before '*' token