Re: [Tinycc-devel] Use of uninitalized automatic variable in TCC when parsing “int f ( int ( )”

2019-03-09 Thread Pascal Cuoq
Finally, adding one more bit of instrumentation shows that TCC can crash because of the uninitialized variable being discussed in this thread. On 08 Mar 2019, at 20:06, Pascal Cuoq mailto:c...@trust-in-soft.com>> wrote: the simplest way to make this problem visible is to instrument the function

Re: [Tinycc-devel] Use of uninitalized automatic variable in TCC when parsing “int f ( int ( )”

2019-03-09 Thread Pascal Cuoq
Update: I have found an input that is accepted by GCC, accepted by Clang, and that makes TCC use the variable n uninitialized in function post_type. On 08 Mar 2019, at 20:06, Pascal Cuoq mailto:c...@trust-in-soft.com>> wrote: the simplest way to make this problem visible is to instrument the fu