[GHC] #14923: Recompilation avoidance fails after a LANGUAGE change

#14923: Recompilation avoidance fails after a LANGUAGE change
-------------------------------------+-------------------------------------
Reporter: akio | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.4.1
Keywords: | Operating System: Linux
Architecture: | Type of failure: Compile-time
Unknown/Multiple | performance bug
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
It looks like the recompilation checker can be confused when a LANGUAGE
pragma is added or removed.
The following shell script demonstrates the issue:
{{{
#!/bin/sh
cat >Foo.hs <

#14923: Recompilation avoidance fails after a LANGUAGE change -------------------------------------+------------------------------------- Reporter: akio | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.1 Resolution: | Keywords: Operating System: Linux | Architecture: Type of failure: Compile-time | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Hmm, very interesting. It looks to me like `fingerprintDynFlags` includes the language flags in its hash. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14923#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC