Bug#789170: tcc: problem with const array argument

2015-11-19 Thread Edmund Grimley Evans
I think this bug was fixed by this upstream commit: commit 30c54c9d433f5cc213912afd2ed04808cd9a4a23 Date: Thu Nov 19 23:45:33 2015 + http://repo.or.cz/tinycc.git/commit/30c54c9d433f5cc213912afd2ed04808cd9a4a23

Bug#789170: tcc: problem with const array argument

2015-06-18 Thread Edmund Grimley Evans
Package: tcc Version: 0.9.27~git20140923.9d7fb33-3 cat > bug.c <<'EOF' typedef struct { int x; } struct_t; typedef struct_t array_t[1]; typedef const struct_t *pointer_t; void f(pointer_t); void f(const array_t arg) { } EOF $ gcc -Wall -c bug.c $ tcc -Wall -c bug.c bug.c:5: error: incompatible ty