[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: "or" shortcut does not work - but why?
- From: Nick Gammon <nick@...>
- Date: Tue, 19 Jun 2007 13:36:52 +1000
On 19/06/2007, at 9:27 AM, Roberto Ierusalimschy wrote:
The more optimizations
it does, the bigger the chance for bugs. I guess only this
the next, which is quite similar) needs to be changed.
This is an interesting take on it. Instead of Lua not handling "or"
properly, it seems the C compiler can't handle it. Sounds quite
likely on the evidence. I think it still would be useful to look at
the actual generated assembler code to prove it beyond doubt.
It might be worth trying different optimization levels. Whatever your
current optimization level is (Andreas), raise or lower it, see if
that makes a difference.