[GHC] #13170: Core Lint error on git HEAD
GHC
ghc-devs at haskell.org
Mon Jan 23 23:23:09 UTC 2017
#13170: Core Lint error on git HEAD
-------------------------------------+-------------------------------------
Reporter: dobenour | Owner: rwbarton
Type: bug | Status: new
Priority: highest | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| simplCore/should_compile/T13170
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D3008
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
Incidentally, the failure in
{{{#!hs
isSigIntQuit n = sig == sigINT || sig == sigQUIT
where
sig = fromIntegral (-n)
}}}
only showed up on a 32-bit system because `sig :: CInt` is 32 bits, and so
on a 64-bit system there is also a `GHC.Prim.narrow32Int#` in the case
scrutinee (from the implementation of `negate` for `CInt`).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13170#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list