[Neko] Bug?: otable_find clobbers %eax
ncannasse at motion-twin.com
Sun Apr 22 11:25:43 CEST 2007
> Hi Nicolas, List,
> I'm using Ubuntu 6.10 on x86 and the latest CVS Neko compiled with the
> version of GCC that comes with Ubuntu, which I have just discovered to
> my horror to be a prerelease of 4.1.2. Running almost any Neko binary
> causes neko -interp to crash with a segfault:
Looks like this is a difference with GCC 4.1.2 using %eax while inlining
otable_find, or maybe it simply refuses to inline it. Anyway that was a
bug when COMPATC_TABLE is not used.
I made some changes, could you test that the problem has been correctly
Thanks for the patch, and good work at locating the (tricky) error. Does
JIT works correctly ?
More information about the Neko