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: Michael Matz
Subject: Re: [Tinycc-devel] Avoid allocating a VLA of size zero
Date: Sun, 16 Jun 2019 21:49:37 +0200 (CEST)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

Hi,

On Wed, 12 Jun 2019, Petr Skočík wrote:

Nice find, Pascal Cuoq.

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 : ;)


Ciao,
Michael.

reply via email to

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