On Fri, Oct 11, 2002 at 05:05:56PM -0700, Joe Wilson wrote: > Perhaps this is a known issue... > > Most parrot programs seem to crash on x86 when the latest CVS parrot > is compiled with "-O2" or "-g -O2" and when JIT is enabled. > The programs appear to run to completion and only crash prior to exitting. > Repeatable on both Cygwin and Linux x86. > When JIT is not used, everything is fine.
Ugh. That was a hairy one to track down. I have committed a fix. The cause of the above problem was that the JIT was trampling over some x86 registers that are supposed to be callee-saved in the cdecl calling convention. By the time I finally figured that out, though, I had fixed several other pretty major bugs in the jit. Thanks for the report.