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

2019-03-08 Thread Pascal Cuoq
Hello, the simplest way to make this problem visible is to instrument the functions type_decl and post_type: diff --git a/tccgen.c b/tccgen.c index 87ec798..7fa6c72 100644 --- a/tccgen.c +++ b/tccgen.c @@ -4374,7 +4374,7 @@ static int post_type(CType *type, AttributeDef *ad, int storage, int

Re: [Tinycc-devel] TCC segfault on Fedora 29 Klaus Ebbe Grue

2019-03-08 Thread Michael Matz
Hello, On Mon, 4 Mar 2019, Connor Nolan wrote: > It seems to be fixed now, but when running the created executable it > errors: "./test": error: Android 5.0 and later only support > position-independent executables (-fPIE). Does tinycc not support PIE, Right now TCC can't create position

Re: [Tinycc-devel] Undefined symbol '__ashldi3'

2019-03-08 Thread Michael Matz
Hi, On Fri, 8 Mar 2019, Andy Goth wrote: > On Fri, Mar 8, 2019, 00:46 Andy Goth wrote: > > > With tcc4tcl 0.30 (tcc 0.9.26) compiled with MXE GCC 5.4.0, I get the > > following error: > > > > I left out a critical detail. This is 32-bit Windows MXE GCC. I haven't > tried 64-bit Windows yet,