[GHC] #13170: Core Lint error on git HEAD

GHC ghc-devs at haskell.org
Mon Jan 23 22:18:49 UTC 2017


#13170: Core Lint error on git HEAD
-------------------------------------+-------------------------------------
           Reporter:  dobenour       |             Owner:
               Type:  bug            |            Status:  new
           Priority:  highest        |         Milestone:
          Component:  Compiler       |           Version:  8.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 GHC HEAD hits a Core Lint error on this simple module:

 {{{#!hs
 module Fold where

 f :: Int -> Bool
 f x = y == 2 || y == 3
   where y = -x
 }}}

 when compiling with `-O -dcore-lint`.

 This causes the Harbormaster build to fail on ia32.

 This doesn't effect 8.0.2.

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


More information about the ghc-tickets mailing list