[GHC] #11502: Scrutinize use of 'long' in rts/

GHC ghc-devs at haskell.org
Wed Jan 27 22:57:08 UTC 2016


#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 rwbarton):

 Using `int` is often fine, and sometimes unavoidable since lots of
 standard C library functions accept or return `int`. There may well be
 some cases where `int` is used wrongly, but there will be far more correct
 uses. I can't think of any legitimate use for `long` in the RTS, though.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11502#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list