FFI: passing 6 FD arguments doesn't work

Simon Marlow simonmar at microsoft.com
Mon Sep 9 09:32:57 EDT 2002


> This was a bug in GHC's native code generator for SPARC, 
> which sometimes
> misaligned the stack pointer. This has already been fixed in CVS (HEAD
> and branch), but it didn't make it into 5.04, see:
> 
>
http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/ghc/compiler/nativeGen
/MachCode.lhs.diff?r1=1.100&r2=1.101

I was just getting around to having a look at this one.  George, can you
verify that your test case works fine if you use -fvia-C?  If so, I'll
assume it's this NCG bug.  The fix has been merged into the forthcoming
5.04.1.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list