tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Tinycc from git still can't compile fossil-scm


From: Michael Matz
Subject: Re: [Tinycc-devel] Tinycc from git still can't compile fossil-scm
Date: Sun, 30 Mar 2014 00:37:16 +0100 (CET)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

Hi,

On Sat, 29 Mar 2014, Domingo Alvarez Duarte wrote:

clang and pcc also generates inline assembly instead of call/alloc.

Yes. I haven't said the relevant stdarg functions have to use malloc. They just need to interoperate with what the ABI says (and that's passing by pointer). Daniel downthread is correct in that va_list itself doesn't have to be a pointer, that was merely TCCs way of fulfilling the ABI requirements. So he fixed it meanwhile, so I'm fine.

The fossil-scm issue should still be investigated somewhen. TCCs old implementation of stdarg was conforming, so changing it to something else shouldn't affect any correctly written code (meaning that I'd suspect either some different bug in TCC that now is merely hidden, or a bug in fossil-scm (perhaps in their usage of stdarg functions) that's now hidden).


Ciao,
Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]