|
RE: problem with -caf-all: msg#00045lang.haskell.glasgow.bugs
> I'm trying to use the -caf-all flag with ghc-6.02, in > conjunction with -O > (which means going via C...) > > But in a few modules of a large program, the .hc files > contain duplicate > definitions of "MODsat_CAF_cc_ccs" (where MOD = a particular module) > > I can't see an obvious pattern to the number of duplications. All the > affected modules use MPCs heavily. It doesn't look like the > duplications > are 1-1 with the instance decls. It only happens on a few modules out > of many which also use classes heavily. > > NB I hand-patched the .hc files by hand, and in the results, > not much of > the dictionary/caf info showed up! Should -auto-dicts work? This stuff hasn't received any attention in a while, and I suspect that you're the first person to try to use these options in a long time, which might explain why things are a bit flaky. Anyway, thanks for the heads up, I'll try to look into it - I'm currently hacking in the area of profiling in the compiler as it happens. Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Bug: problem with -caf-all, P.C.Callaghan |
|---|---|
| Next by Date: | [ ghc-Bugs-919861 ] Typo in user guide, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-919866 ] ghc "panic" - typecheck/TcRnTypes.lhs:233, SourceForge.net |
| Next by Thread: | PATCH: add malloc function attribute to rts malloc functions, Duncan Coutts |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |