Re: Instruction Cache Flush in createAdjustor on SPARC

2002-04-25 Thread Sven Panne
Simon Marlow wrote: > I'm not a sparc expert, would anyone like to suggest a patch? From the top of my head (sorry, I forgot my SUN Enterprise Server at work :-): /* the flush instruction works on double words */ inline void flushCacheOnSPARC(int64_t* from, int64_t* to) { while (from < to

Re: ghc 5.03 bug in ghc/rts/Stable.c

2002-04-25 Thread Bernard James POPE
> If you have some code that triggers the bug, I'd be interested > so we can put it in the regression suite. Hi Simon, I've whittled it down to the following program. It triggers the seg fault. The Foo data type is not necessary, but it does make the program more self contained. You ought to be