|
[ ghc-Bugs-1012157 ] -caf-all bugs: msg#00048lang.haskell.glasgow.bugs
Bugs item #1012157, was opened at 2004-08-19 07:52 Message generated for change (Comment added) made by pimlott You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1012157&group_id=8032 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Profiling Group: 6.2.1 Status: Open Resolution: None Priority: 3 Submitted By: Simon Marlow (simonmar) Assigned to: Simon Marlow (simonmar) Summary: -caf-all bugs Initial Comment: P.C.Callaghan [p.c.callaghan@xxxxxxxxxxxx] submitted this bug: 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? ---------------------------------------------------------------------- Comment By: Andrew Pimlott (pimlott) Date: 2005-08-09 15:23 Message: Logged In: YES user_id=498741 This problem is easily reproduced with GHC 6.4. Just put "main = return ()" in try.hs, then % ghc -prof -caf-all try.hs /tmp/ghc27311.hc:155: error: redefinition of ?Mainmain_CAF_cc_ccs? /tmp/ghc27311.hc:150: error: previous definition of ?Mainmain_CAF_cc_ccs? was here ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1012157&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | System.Cmd.system/rawSystem set stdin/stdout to non-blocking mode, Adam Sampson |
|---|---|
| Next by Date: | Re: another wash compile problem, Frederik Eaton |
| Previous by Thread: | System.Cmd.system/rawSystem set stdin/stdout to non-blocking mode, Adam Sampson |
| Next by Thread: | Internal error: scavenge_one, Tien Tuan Anh Dinh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |