
#11502: Scrutinize use of 'long' in rts/ -------------------------------------+------------------------------------- Reporter: thomie | Owner: MarcelineVQ Type: task | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonmar): `StgWord` is a pretty fundamental notion across the whole of the GHC backend and runtime system: it's the unit of allocation on the heap and stack. So I think for the storage manager we should keep `StgWord` as it is. Places where we're using `StgWord` as just a "machine word sized unsigned value" as @erikd says, we should use something more appropriate. I'd be fine with getting rid of the explicitly sized Stg types in favour of the standard ones. When we originally built this, the standard ones weren't standard enough. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11502#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler