[GHC] #4012: Compilation results are not deterministic

GHC ghc-devs at haskell.org
Fri Oct 17 13:37:23 UTC 2014


#4012: Compilation results are not deterministic
-------------------------------------+-------------------------------------
              Reporter:  kili        |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  6.12.2
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Difficult (2-5
       Type of failure:  Other       |  days)
             Test Case:              |       Blocked By:
              Blocking:              |  Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"a477e8118137b7483d0a7680c1fd337a007a023b/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a477e8118137b7483d0a7680c1fd337a007a023b"
 Avoid printing uniques in specialization rules

 Akio found an avoidable cause of non-determinisim: The names of RULES
 generated by Specialise had uniques in them:
     "SPEC $cshowsPrec_a2QX @ [GHC.Types.Char]" [ALWAYS] forall ...
 By using showSDocForUser instead of showSDocDump when building the rule
 name, this is avoided:
     "SPEC $cshowsPrec @ [Char]" [ALWAYS] forall ...
 See #4012, comments 61ff.
 }}}

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


More information about the ghc-tickets mailing list