[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT optimization bug?
- From: Pierre Chapuis <catwell@...>
- Date: Wed, 17 Aug 2011 16:09:25 +0200
On Wed, 17 Aug 2011 16:02:18 +0200, Pierre Chapuis wrote:
That's the problem: every single line I change in the code gives
a different behavior, even defining one more / less local. So
it's almost impossible to reduce to a snippet...
To give you an idea of the butterfly effect I face:
-- incorrect result
bit_set_1(_bset,_byte,_bit)
-- incorrect result
bit_set_1(_bset,_byte,_bit)
assert(true)
-- incorrect result
bit_set_1(_bset,_byte,_bit)
assert(true)
assert(true)
-- correct result (!)
bit_set_1(_bset,_byte,_bit)
assert(true)
assert(true)
assert(true)
-- incorrect result (!!!)
bit_set_1(_bset,_byte,_bit)
assert(true)
assert(true)
assert(true)
assert(true)
So trying to make a snippet that reproduces that bug is worse than
hunting a needle in a haystack.
--
Pierre 'catwell' Chapuis