tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Avoid allocating a VLA of size zero


From: Christian Jullien
Subject: Re: [Tinycc-devel] Avoid allocating a VLA of size zero
Date: Thu, 20 Jun 2019 07:07:03 +0200

Thank you for your first contribution to tcc ... and mod is not broken :o))

A first step starting a long journey?

C.

-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=address@hidden] On 
Behalf Of Pascal Cuoq
Sent: Wednesday, June 19, 2019 21:07
To: Michael Matz
Cc: address@hidden
Subject: Re: [Tinycc-devel] Avoid allocating a VLA of size zero

Hello,

> On 16 Jun 2019, at 21:49, Michael Matz <address@hidden> wrote:
> 
> On Wed, 12 Jun 2019, Petr Skočík wrote:
> 
>> I think it looks a bit better without the extra variable:
>> 
>>      char _onstack[nb_args?nb_args:1], *onstack = _onstack;
> 
> Agreed, if you put spaces around the ? and : ;)

So I pushed that patch as my first commit. If the git is broken now it's Petr's 
fault for pointing out that anyone can push.

Pascal

_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




reply via email to

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