Skip to content

Core Lint error on git HEAD

GHC HEAD hits a Core Lint error on this simple module:

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.

Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information