[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: and/or missbehaviour in embedded lua 5.1
- From: Andreas Stenius <kaos@...>
- Date: Fri, 17 Mar 2006 11:57:18 +0100
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..
I've not looked at it myself yet, am about to do so now, just want to
get it out too, so you can have a look too.