#3065: Reorder tests in quot to improve code
--------------------------------------+-------------------------------------
  Reporter:  simonpj                  |          Owner:                  
      Type:  bug                      |         Status:  new             
  Priority:  normal                   |      Milestone:  6.12 branch     
 Component:  libraries/base           |        Version:  6.10.1          
Resolution:                           |       Keywords:                  
Difficulty:  Unknown                  |             Os:  Unknown/Multiple
  Testcase:                           |   Architecture:  Unknown/Multiple
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------
Comment (by simonmar):

 Ok, so we should go ahead then.  It can be done in two steps:

  * change the behaviour of overflow in quot to mean truncation, not an
 exception.  Remove
    the tests from the smaller Int types.

  * move the test from `quotInt` into the NCG, or perhaps `CgPrimOp`?

 volunteers?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3065#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to