Re: [Tinycc-devel] Fixes to bugs in `type_to_str` and `compare_types`; patches to CLI options

2018-11-12 Thread Michael Matz
Hello, On Mon, 12 Nov 2018, Petr Skočík wrote: > My shot at the fixes is at https://github.com/pskocik/tinycc. It's > separated into addition of failing tests and fixes to those tests. The fixes seem sensible, but I have some stylistic nits: * please add testcases and fixes for them in the

[Tinycc-devel] Fixes to bugs in `type_to_str` and `compare_types`; patches to CLI options

2018-11-12 Thread Petr Skočík
Hi, I ran into some tinycc bugs best demonstrated by: int main(){ (void)_Generic(&(int[2]){0}, int(*)[4]:0); //shouldn't compile but it does return _Generic(&(int[2]){0}, int(*)[2]:0, int(*)[4]:0); //reports a `type match twice` error even