On Jan 27, 2011, at 5:50 AM, Roberto Ierusalimschy wrote:
It seems that there are several other cases with wrong results, including cases where even the truthness of the expression is wrong: [...] The patch that removes all optimizations seems to correct all cases.
Some of the optimizations do appear to work. The attached patch disables only the optimizations which cause failures to be reported by Roberto's and Ryota's test generators. -Sean
Attachment:
lua-5.1.4-logical_op_opt-2.patch
Description: Binary data