[GHC] #8144: Interface hashes include time stamp of included .h file when CPP is used
GHC
ghc-devs at haskell.org
Tue Aug 20 10:09:03 CEST 2013
#8144: Interface hashes include time stamp of included .h file when CPP is used
-------------------------------------------------+-------------------------
Reporter: nh2 | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time performance bug | Unknown/Multiple
Test Case: | Difficulty:
Blocking: | Unknown
| Blocked By:
| Related Tickets:
-------------------------------------------------+-------------------------
Comment (by nh2):
http://www.haskell.org/ghc/docs/7.6.3/html/libraries/ghc/HscTypes.html#t:Usage
see
{{{
UsageFile { usg_file_path :: FilePath
, usg_mtime :: UTCTime }
}}}
https://github.com/ghc/ghc/blame/9082111dc/compiler/iface/MkIface.lhs#L603
{{{
iface_hash <- computeFingerprint ...
}}}
where ''computeFingerprint'' just uses the ''instance Binary Usage'', so
the mtime goes into the fingerprint.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8144#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list