Re: -fno-implicit-prelude -prof bug on x86

2003-07-21 Thread Ashley Yakeley
In article [EMAIL PROTECTED], I wrote: $ ghc -fno-implicit-prelude -prof -c M.hs /tmp/ghc4124.hc:5: `NULL' undeclared here (not in a function) /tmp/ghc4124.hc:5: initializer element is not constant /tmp/ghc4124.hc:5: (near initialization for `M_CAFs_cc_ccs[0].prevStack') /tmp/ghc4124.hc:5:

RE: -fno-implicit-prelude -prof bug on x86

2003-07-21 Thread Simon Marlow
In article [EMAIL PROTECTED], I wrote: $ ghc -fno-implicit-prelude -prof -c M.hs /tmp/ghc4124.hc:5: `NULL' undeclared here (not in a function) /tmp/ghc4124.hc:5: initializer element is not constant /tmp/ghc4124.hc:5: (near initialization for `M_CAFs_cc_ccs[0].prevStack')

-fno-implicit-prelude -prof bug on x86

2003-07-16 Thread Ashley Yakeley
GHC 6.0 fails to compile this on x86 Linux with -fno-implicit-prelude -prof: module M where {} $ ghc -fno-implicit-prelude -prof -c M.hs /tmp/ghc4124.hc:5: `NULL' undeclared here (not in a function) /tmp/ghc4124.hc:5: initializer element is not constant /tmp/ghc4124.hc:5: (near initialization