lua-users home
lua-l archive

Re: LuaJIT optimization bug?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2011年8月17日 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

AltStyle によって変換されたページ (->オリジナル) /