|From:||Domingo Alvarez Duarte|
|Subject:||Re: [Tinycc-devel] Tinycc from git still can't compile fossil-scm|
|Date:||Sun, 30 Mar 2014 16:10:48 +0100|
Hi,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.
On Sat, 29 Mar 2014, Domingo Alvarez Duarte wrote:
clang and pcc also generates inline assembly instead of call/alloc.
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).
Tinycc-devel mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|