[GHC] #8383: "tagToEnum# (0# ==# 1#) :: Bool" causes CASEFAIL in ghci
GHC
ghc-devs
Fri Oct 4 18:16:03 UTC 2013
#8383: "tagToEnum# (0# ==# 1#) :: Bool" causes CASEFAIL in ghci
---------------------------------+----------------------------------
Reporter: rwbarton | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: GHCi | Version: 7.7
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64 (amd64)
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
---------------------------------+----------------------------------
Comment (by Simon Peyton Jones <simonpj@?>):
In [changeset:a9649c48681054d86b6a1e33118aa12903a4fbfd/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="a9649c48681054d86b6a1e33118aa12903a4fbfd"
Fix the bytecode genreation for tagToEnum# (Trac #8383)
Reid Barton's diagnosis was right on the mark, though the fix
wasn't quite right. See Note [Implementing tagToEnum#].
As usual I did some refactoring.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8383#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list