HPC gives spurious results if sources are compiled with -cpp

Ian Lynagh igloo at earth.li
Thu Jul 16 12:26:40 EDT 2009


On Tue, Jul 14, 2009 at 09:08:46AM +0000, Dominic Steinitz wrote:
> 
> ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.10.1
> 
> ghc.exe -fhpc -cpp --make CommonHPC.hs -o CommonHPC
> 
> commonHPC
> 
> hpc markup CommonHPC --fun-entry-count
> 
> This gives no entry counts for fact in Common.hs.

Thanks for the report; I've filed it here:
http://hackage.haskell.org/trac/ghc/ticket/3376


Thanks
Ian



More information about the Glasgow-haskell-users mailing list