tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Re: variable length arrays


From: mobi phil
Subject: Re: [Tinycc-devel] Re: variable length arrays
Date: Mon, 17 May 2010 03:12:14 +0200

On Sun, Apr 18, 2010 at 7:27 PM, Thomas Preud'homme <address@hidden> wrote:
> Le dimanche 18 avril 2010 13:58:39, mobi phil a écrit :
>> Sorry to instist....
>>
>> is there any way to do memory allocation on the stack?  (please read my
>> email below)
>> I think there are very few features missing to cover double of the C code
>> out there that can be compiled with TCC... and one of them is variable
>> length arrays on the stack...
> I rebased the patch propose at [1] upon the current master branch. I can't
> guarantee it works as alloca doesn't work on my different machines, even with
> the latest mob.

It seems to work... I do not have too much experience with stack
pointer adjustment, but I was thinking if it would not be better to
implement directly with stack pointer adjustment?



-- 
rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com



reply via email to

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