tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] TCC on new ARM EABI (ARMEL)


From: Daniel Glöckner
Subject: Re: [Tinycc-devel] TCC on new ARM EABI (ARMEL)
Date: Mon, 18 Sep 2006 02:25:52 +0200
User-agent: Mutt/1.4.2.1i

On Sun, Sep 17, 2006 at 02:12:39PM -0500, Cayle Graumann wrote:
> #define nelem(x)        (sizeof (x)/sizeof (x)[0])

Try
#define nelem(x)        (sizeof (x)/sizeof ((x)[0]))

parse_expr_type() needs the block after "/* post operations */" from
unary() after skip(')') when parse_btype() is false.

But then we can go further and ask if "sizeof (char)7" is a legal C
expression...

> static uvlong uvnan    = ((uvlong)0x7FF00000<<32)|0x00000001;

You need to implement the "if (c1 && c2)" block from gen_opic() in
gen_opl().

  Daniel




reply via email to

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