[Top][All Lists]

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

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

From: Christian JULLIEN
Subject: Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues
Date: Mon, 10 Oct 2016 11:28:59 +0200 (CEST)

Thank you for your reply.
This is of course something I tried.
IMHO, because FreeBSD standard headers are known to use __aligned(x) and __pure, tcc should define them by default (at least for FreeFBSD) otherwise everybody will need to define those macros just to include standard header.


----- message d'origine -----
De : "grischka" <address@hidden>
date lun. 10/10/2016 11:09 (GMT +02:00)
À : "address@hidden" <address@hidden>
Objet : Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues

Christian Jullien wrote:
> int sc_fpstate[128] __aligned(16);

aligned is an attribute (also in gcc. You need

#define __aligned(n) __attribute__((aligned(n)))

Should be in the headers but often it is only for __GNUC__.

pure also is an attribute, for optimization purposes and ignored
by tcc, unless given -Wunsupported.

-- gr

Tinycc-devel mailing list

reply via email to

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