[GHC] #13027: Core lint errors compiling containers HEAD with GHC HEAD

GHC ghc-devs at haskell.org
Tue Jan 10 23:49:48 UTC 2017


#13027: Core lint errors compiling containers HEAD with GHC HEAD
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Building GHC      |            Test Case:
  failed                             |  simplCore/should_compile/T13027
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Conclusions

 * ToDo: augument Lint to check that args to strict data cons are
 evaluated.  Ditto `dataToTag#`.

 * ToDo: (maybe) make `exprOkForSpeculation` more lenient for lazy
 primpops.

 * ToDo: make worker/wrapper produce eval'd flags on the wrapper for CPR.
 Will silence the Lint error in comment:17

 There is no actual bug here, if you have Lint off.  The problem is that
 Lint is reporting a non-error.

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


More information about the ghc-tickets mailing list