#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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to