[GHC] #11750: 32 bit CPUs: Couldn't match expected type ‘Word#’ with actual type ‘Word64#’
#11750: 32 bit CPUs: Couldn't match expected type ‘Word#’ with actual type ‘Word64#’ -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Building GHC Unknown/Multiple | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Getting this on PowerPC and Arm: {{{ libraries/base/GHC/Word.hs:605:39: error: • Couldn't match expected type ‘Word#’ with actual type ‘Word64#’ • In the first argument of ‘eqWord#’, namely ‘x’ In the first argument of ‘isTrue#’, namely ‘(x `eqWord#` y)’ In the expression: isTrue# (x `eqWord#` y) libraries/base/GHC/Word.hs:605:51: error: • Couldn't match expected type ‘Word#’ with actual type ‘Word64#’ • In the second argument of ‘eqWord#’, namely ‘y’ In the first argument of ‘isTrue#’, namely ‘(x `eqWord#` y)’ In the expression: isTrue# (x `eqWord#` y) libraries/base/GHC/Word.hs:606:39: error: • Couldn't match expected type ‘Word#’ with actual type ‘Word64#’ • In the first argument of ‘neWord#’, namely ‘x’ In the first argument of ‘isTrue#’, namely ‘(x `neWord#` y)’ In the expression: isTrue# (x `neWord#` y) libraries/base/GHC/Word.hs:606:51: error: • Couldn't match expected type ‘Word#’ with actual type ‘Word64#’ • In the second argument of ‘neWord#’, namely ‘y’ In the first argument of ‘isTrue#’, namely ‘(x `neWord#` y)’ In the expression: isTrue# (x `neWord#` y) }}} Same happens for `Int64` in `GHC/Int.hs`. Patch on the way. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11750> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11750: 32 bit CPUs: Couldn't match expected type ‘Word#’ with actual type ‘Word64#’ -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"26f86f3d397159f9c0db0b59766138f553ba5a86/ghc" 26f86f3/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="26f86f3d397159f9c0db0b59766138f553ba5a86" base: Fix GHC.Word and GHC.Int on 32-bit platforms Due to a cut-and-paste error D1980 (#11688) broke 32-bit platforms. This should fix it. See #11750. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11750#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11750: 32 bit CPUs: Couldn't match expected type ‘Word#’ with actual type ‘Word64#’ -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: merge Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => merge * milestone: => 8.0.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11750#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11750: 32 bit CPUs: Couldn't match expected type ‘Word#’ with actual type ‘Word64#’ -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-8.0` as bf6e2085ce7e9de0c56b4b2ef8db24df65cd8d68. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11750#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC