tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Tests for _Alignas (new autotools)


From: Detlef Riekenberg
Subject: [Tinycc-devel] Tests for _Alignas (new autotools)
Date: Thu, 28 Jul 2022 18:59:23 +0200

Hi

GNU autotools went more than 20 years forward
from the old C89/c90 compatibility checks to C11 and C99 before C89/C90.

First try is with compiler default settings, next try is with "-std=gnu11".
tcc fail with both, but using CFLAGS="-std=c11"
works for the first check (__STDC_VERSION__)

Next check is _Alignas. tcc is broken, but i commited a fix
The current test is strange. It has a failure message
and only works with tcc.
tcc -m32 and tcc -m64 have the same results as gcc -m64 (1 1 1 1),
but the result with gcc -m32 is different: 1 0 1 1

What should we do?

Attached are a patch for the additional tests to verify my
implementation changes for _Alignas.


--
Bye bye ... Detlef

Attachment: 0001-Tests-for-_Alignas-0-_Alignas-1-and-more.patch
Description: Text Data


reply via email to

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