[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] many test errors on RPi (incl. core dump) after recen
From: |
grischka |
Subject: |
Re: [Tinycc-devel] many test errors on RPi (incl. core dump) after recent changes |
Date: |
Sun, 23 Jul 2017 21:30:41 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Christian JULLIEN wrote:
many test errors on RPi (incl. core dump) after recent changes
-
Test: 22_floating_point...
Bus error
OK, thanks. Might work again.
I also committed some change that makes -DONE_SOURCE the default
now. In combination with another addition that sets the default
native TCC_TARGET_... in tcc.h this is meant to make compiling a
tcc simple again as in
gcc tcc.c -o tcc (-ldl)
Sort of a movement back to the roots, if you want to ;)
As to the bitfields, it looks like this gcc (on arm/RPi) ignores
#pragma pack(1) altogether if it sees any zero-bits-field (int:0)
in the struct. Just another detail anyway.
As to
static int counter;
Michael, what can I do to convince you that static locals are most
likely always not a good idea in (lib)tcc ;)
--- grischka