[Top][All Lists]

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

Re: [Tinycc-devel] tcc and declaring arrays.

From: Sam Watkins
Subject: Re: [Tinycc-devel] tcc and declaring arrays.
Date: Fri, 19 Jun 2009 12:07:37 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Jun 18, 2009 at 11:30:54PM -0400, Ammar James wrote:
> In sectino of the Standard, I believe it states that variable
> length arrays (VLAs) are supported as long as they are not in
> file-scope.

"TCC doesn't support variable length arrays, yet."

I'm thinking about trying to implement VLA support etc, so if you are
interested in it please remind me on IRC.  It shouldn't be too hard,
seeing that alloca is already there.  I'm not sure what would be
difficult about it, I guess issues would be sizeof, multi-dimensional
indexing, anything else?

Another thing I'm aware of that TCC doesn't yet do from C99 is for-loop
declarations, like:

  for(int i=0; ...)


reply via email to

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