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: Pascal Cuoq
Subject: Re: [Tinycc-devel] Avoid allocating a VLA of size zero
Date: Wed, 19 Jun 2019 19:06:44 +0000

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


reply via email to

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