Skip to content

ghc --help suggests -auto-all instead of -fprof-auto

'ghc --help' suggests the use of -auto-all (see below), but according to [#r1 [1]], "-fprof-auto was known as -auto-all prior to GHC 7.4.1." I assume this means that GHC >= 7.4.1 should not mention -auto-all, and that -fprof-auto should be suggested instead.

$ ghc --help
...
    -prof           Compile for cost-centre profiling
                     (add -auto-all for automagic cost-centres on all
                      top-level functions)
...

[=#r1 [1]] https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/profiling.html#ftn.idp46686521726064

Trac metadata
Trac field Value
Version 7.10.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information