[GHC] #12115: CoreLint error in safe program

GHC ghc-devs at haskell.org
Fri May 27 13:35:12 UTC 2016


#12115: CoreLint error in safe program
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  codegen/should_compile/T12115
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"b43a7936ebf77bce744d50a131d686c83f63e60b/ghc" b43a793/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b43a7936ebf77bce744d50a131d686c83f63e60b"
 More fixes for unboxed tuples

 This is a continuation of
    commit e9e61f18a548b70693f4ccd245bc56335c94b498
    Date:   Thu May 26 15:24:53 2016 +0100
    Reduce special-casing for nullary unboxed tuple

 which related to Trac #12115.  But typecheck/should_run/tcrun051
 revealed that my patch was incomplete.

 This fixes it, by removing another special case in Type.repType.
 I had also missed a case in UnariseStg.unariseIdBinder.

 I took the opportunity to add explanatory notes
   Note [Unarisation]
   Note [Unarisation and nullary tuples]
 in UnariseStg
 }}}

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


More information about the ghc-tickets mailing list