
23 Apr
2002
23 Apr
'02
7:32 a.m.
[ Forwarded to cvs-ghc, too, because of the first bug ]
anatoli wrote:
I'm on Solaris 2.6, GHC 5.02.3. Thank you for good work! Some quick notes:
1. examples/redbook_HS/Clip dumps core :(
A quick look with ddd revealed that GHC's RTS has a bug in alloca resp. allocaBytes: It must return a pointer with the *strictest* alignment, which is 8 bytes on SPARC for 64-bit integrals/floats. Currently, the returned pointer has only an alignment of 4 bytes. :-(
I think I've now fixed alloca to always return 8-byte aligned memory. Cheers, Simon