> However the only difference between the two is that the C function
> called by TestHW.hs has 6 arguments of type Fd, while that called by
> TestHW5.hs has only 5.

Quick thing to try to see if it helps:

It's possible that the problem is only affecting one of GHC's code
generators so you might try the other one.  I think the default is the
native code generator so you might try using the via-C code generator
instead (-fviac I think).

You might also try a non-sparc if you have one handy.  IIRC, 5-6
arguments is the point where sparcs switch from passing arguments in
registers to passing them on the stack so this is likely to be
sparc-specific.



--
Alastair Reid                 [EMAIL PROTECTED]  
Reid Consulting (UK) Limited  http://www.reid-consulting-uk.ltd.uk/alastair/

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to