
#14596: Remove uses of unsafeGlobalDynFlags for state hack -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Currently there are a variety of uses of the terrible `unsafeGlobalDynFlags` scattered about the compiler to implement `-fno- state-hack`. This global state makes parallel compilation unreliable and complicates API usage. Remove these uses. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14596 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler