[GHC] #4012: Compilation results are not deterministic

GHC ghc-devs at haskell.org
Tue May 24 11:31:11 UTC 2016


#4012: Compilation results are not deterministic
-------------------------------------+-------------------------------------
        Reporter:  kili              |                Owner:  niteria
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  6.12.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:  11362             |             Blocking:
 Related Tickets:  #10424            |  Differential Rev(s):  Phab:D910,
                                     |  Phab:D1073, Phab:D1133, Phab:D1192,
                                     |  Phab:D1268, Phab:D1360, Phab:D1373,
       Wiki Page:                    |  Phab:D1396, Phab:D1457, Phab:D1468,
  DeterministicBuilds                |  Phab:D1487, Phab:D1504, Phab:D1508
-------------------------------------+-------------------------------------

Comment (by Bartosz Nitka <niteria@…>):

 In [changeset:"4c6e69d58a300d6ef440d326a3fd29b58b284fa1/ghc"
 4c6e69d5/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="4c6e69d58a300d6ef440d326a3fd29b58b284fa1"
 Document some benign nondeterminism

 I've changed the functions to their nonDet equivalents and explained
 why they're OK there. This allowed me to remove foldNameSet,
 foldVarEnv, foldVarEnv_Directly, foldVarSet and foldUFM_Directly.

 Test Plan: ./validate, there should be no change in behavior

 Reviewers: simonpj, simonmar, austin, goldfire, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D2244

 GHC Trac Issues: #4012
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4012#comment:175>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list