[Haskell-cafe] Profiling CAFs (re-post)

Ian Lynagh igloo at earth.li
Tue Oct 10 22:00:22 EDT 2006

On Tue, Oct 10, 2006 at 05:21:52PM +0200, Matthias Fischmann wrote:
> > Compiling with -caf-all might give you more useful information.
> Oops.  I thought i had that in my Makefile, but appearently i was
> wrong...  If I add it, this is what happens:
> $ ghc -prof -caf-all Main.hs -o Main  # (ghc 6.4)
> /tmp/ghc22775.hc:1475: error: redefinition of `Mainmain_CAF_cc_ccs'
> /tmp/ghc22775.hc:1470: error: `Mainmain_CAF_cc_ccs' previously defined here

Hmm, filed as http://hackage.haskell.org/trac/ghc/ticket/931


More information about the Haskell-Cafe mailing list