[Top][All Lists]

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

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

From: RoboTux
Subject: Re: [Tinycc-devel] Re: variable length arrays
Date: Mon, 17 May 2010 09:08:29 +0200
User-agent: KMail/1.13.3 (Linux/2.6.32-5-amd64; KDE/4.4.3; x86_64; ; )

Le lundi 17 mai 2010 03:12:14, mobi phil a écrit :
> On Sun, Apr 18, 2010 at 7:27 PM, Thomas Preud'homme <address@hidden> 
> > 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?
Yes it would. Because actually the patch is more like a source rewriting in 
the input buffer.


Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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