the following code, when compiled with tcc -nostdlib caused tcc to segafult
$ cat testcase.c 
static void test () {;}
void _start() {;}
$ tcc testcase.c -nostdlib
Segmentation fault (core dumped)
$ tcc -v
tcc version 0.9.27 (x86_64 Linux)

I did some variations and it seems it's just any "static" function definition, 
causes segfault when compiling without standard library.
---
Oren Watson (he/him)
orenwat...@tutanota.com

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to