[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: and/or missbehaviour in embedded lua 5.1
- From: Kein-Hong Man <mkh@...>
- Date: Fri, 17 Mar 2006 19:11:11 +0800
Andreas Stenius wrote:
Kein-Hong Man skrev:
It should be like x86 except for int... hmmm... yeah, the debugging
nightmare would be if it's a problem with the C compiler. So it could
be any one of the following:
(a) some place in the code generator doesn't like an int of 2 and it
(b) C compiler miscompiles the code generator due to the way it
interprets C, some lack of information, some kind of shortcut taken or
an internal bug
(c) double type problem due to math library or conversion
Without a debugger, peppering lcode.c with printfs should be fine.
Said and done :)
After a few hours of peppering, I got this log file:
Not inlined, due to it's quite long..
Thanks, I'll take a look. Curiosity kills the kitty...
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia