A few Questions on OS X ghc-6.4.3 fix

Ian Lynagh igloo at earth.li
Sat Oct 21 18:23:40 EDT 2006


Hi Peter,

On Sat, Oct 21, 2006 at 05:56:30PM -0400, Peter Tanski wrote:
> 
> Sorry for yet another typo:
> #pragma options align=4
> 
> should have been:
> #pragma options align=power
> 
> A definition might be:
> 
> #if powerpc_HOST_ARCH
> #define ALIGN_POWER "#pragma options align=power"
> #define ALIGN_POWER_RESET "#pragma options align=reset"
> #else
> #define ALIGN_POWER
> #define ALIGN_POWER_RESET
> #endif
> 
> I will try this out and see if the resulting code is any cleaner.

I can't find the context for this - is this a fix for something that's
broken, a performance improvement or something else? If it's a fix, do
you have an example that goes wrong?

Also, do you know if it is OS X specific, or if it would also apply to
PPC Linux?


Thanks
Ian



More information about the Cvs-ghc mailing list