Re: [Tinycc-devel] TCC crash with incorrect syntax in compound literal

2019-03-17 Thread Michael Matz
Hello, On Sun, 17 Mar 2019, Pascal Cuoq wrote: The attached patch makes the program above rejected without crash, does not seem to break “make test” (I think I know what it looks like when the tests are broken because my first fix did break them), and it makes the following program accepted

Re: [Tinycc-devel] TCC crash with incorrect syntax in compound literal

2019-03-17 Thread Pascal Cuoq
Hello again, On 17 Mar 2019, at 13:56, Pascal Cuoq mailto:c...@trust-in-soft.com>> wrote: 2) I noticed that a variant of the input I initially reported in this thread is still crashing TCC. The variant that still crashes TCC as of commit d72b877 is: void f(char *); void g(void) {

Re: [Tinycc-devel] TCC crash with incorrect syntax in compound literal

2019-03-17 Thread Pascal Cuoq
Hello, Thanks again Matthias, and also to Michael who fixed the other crashes I had posted. I was going over the “interesting” inputs generated by fuzzing again, and: 1) I found a bug in the tool I was using TCC as a reference implementation for, so the bugs in TCC being fixed is really