[GHC] #7041: GHC.Real.gcdInt is no longer optimized.
GHC
cvs-ghc at haskell.org
Mon Jul 2 17:44:04 CEST 2012
#7041: GHC.Real.gcdInt is no longer optimized.
---------------------------------+------------------------------------------
Reporter: int-e | Owner: igloo
Type: bug | Status: new
Priority: high | Milestone: 7.6.1
Component: libraries/base | Version: 7.5
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by simonmar):
* owner: => igloo
* difficulty: => Unknown
* priority: normal => high
* milestone: => 7.6.1
Comment:
`GHC.Integer.Type` has this RULE:
{{{
{-# RULES "gcdInteger/Int" forall a b.
gcdInteger (S# a) (S# b) = S# (gcdInt a b)
#-}
}}}
but I imagine it doesn't fire any more. I guess this is one more to add
to `PrelRules`, Ian?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7041#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list