
#12935: Object code produced by GHC is non-deterministic -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nh2): OK, the reason for the ordering being dependent on mtime is #7231: `mg = stable_mg ++ unsable_mg` was implemented to fix `GHCi erroneously unloads modules after a failed :reload`. https://ghc.haskell.org/trac/ghc/ticket/7231#comment:2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12935#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler