Name: Anonymous 2017-04-11 18:46
I have found some bugs in TCC http://bellard.org/tcc/, but author doesn't maintain it anymore. What should I do?
Here is one bug example:
Here is one bug example:
#include <stdio.h>
#define SHR(x) ((intptr_t)(x)/(1<<3))
typedef struct test_t {void *x;} test_t;
static test_t test = {(void *)-8};
int main(int argc, char **argv) {
printf("%d=%d\n", SHR(test.x), SHR((void *)-8));
return 0;
}