[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 now available
- From: Fontana Nicola <ntd@...>
- Date: Fri, 03 Jul 2020 08:26:36 +0200
Il giorno gio, 02/07/2020 alle 17.24 -0400, Joseph C. Sible ha scritto:
> ...
> Looks like a compiler bug to me too. Here's a minimized example:
> https://godbolt.org/z/RMc3RX
> ...
One can always define the argument as `volatile` to avoid optimization
blunders, e.g. the following change will make that code work again:
static int tostringbuff (volatile struct TValue *num, char *str)
No idea if this is C89 compliant though.
Ciao.
--
Nicola