[GHC] #15184: T4442 fails on i386
GHC
ghc-devs at haskell.org
Fri May 25 12:08:34 UTC 2018
#15184: T4442 fails on i386
--------------------------------+-------------------------------------
Reporter: osa1 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.2.2
Keywords: | Operating System: Unknown/Multiple
Architecture: x86 | Type of failure: None/Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------+-------------------------------------
{{{
omer at i386-chroot:~/ghc/testsuite/tests/primops/should_run$
~/ghc/inplace/bin/ghc-stage2 T4442.hs
[1 of 1] Compiling Main ( T4442.hs, T4442.o )
T4442.hs:135:14: error: Not in scope: data constructor `I64#'
|
135 | (\arr i (I64# a) s -> write arr i a s)
| ^^^^
}}}
Looking at the code, it uses `Int` on 64-bit, but `Int64` on i386,
probably to use 64-bit integers on both platforms. I think we can just use
`Int64` on both platforms and get rid of the CPP to avoid further breakage
in the future.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15184>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list