[GHC] #8726: integer-gmp division regression

#8726: integer-gmp division regression --------------------------+------------------------------------------------ Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: | Version: 7.7 libraries (other) | Operating System: Unknown/Multiple Keywords: | Type of failure: Incorrect result at runtime Integer | Test Case: Architecture: | Blocking: Unknown/Multiple | Difficulty: | Unknown | Blocked By: | Related Tickets: | --------------------------+------------------------------------------------ With ghc 7.6.3: {{{ ghci> quotRem 0x10000000000000001 (-0x100000) (-17592186044416,1) ghci> quotRem 0x10000001 (-0x100000) (-256,1) }}} with ghc 7.7 {{{ ghci> quotRem 0x10000000000000001 (-0x100000) (-17592186044416,-1) ghci> quotRem 0x10000001 (-0x100000) (-256,1) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8726 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8726: integer-gmp division regression ------------------------------------------------+-------------------------- Reporter: erikd | Owner: hvr Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: libraries (other) | Version: Resolution: | 7.8.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Incorrect result at runtime | Integer-gmp Test Case: | Architecture: Blocking: | Unknown/Multiple | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Changes (by hvr): * keywords: Integer => Integer-gmp * owner: => hvr * version: 7.7 => 7.8.1-rc1 * priority: normal => highest -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8726#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8726: integer-gmp division regression ------------------------------------------------+-------------------------- Reporter: erikd | Owner: hvr Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: libraries (other) | Version: Resolution: | 7.8.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Incorrect result at runtime | Integer-gmp Test Case: | Architecture: Blocking: | Unknown/Multiple | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Comment (by erikd): Related problems with divMod. ghc-7.6.3: {{{ Prelude> divMod 0x10000000000000001 (-0x100000) (-17592186044417,-1048575) Prelude> divMod 0x10000000001 (-0x100000) (-1048577,-1048575) }}} ghc-7.6: {{{ Prelude> divMod 0x10000000000000001 (-0x100000) (17592186044417,1048575) Prelude> divMod 0x10000000001 (-0x100000) (-1048577,-1048575) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8726#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8726: integer-gmp division regression
------------------------------------------------+--------------------------
Reporter: erikd | Owner: hvr
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: libraries (other) | Version:
Resolution: | 7.8.1-rc1
Operating System: Unknown/Multiple | Keywords:
Type of failure: Incorrect result at runtime | Integer-gmp
Test Case: | Architecture:
Blocking: | Unknown/Multiple
| Difficulty:
| Unknown
| Blocked By:
| Related Tickets:
------------------------------------------------+--------------------------
Comment (by Herbert Valerio Riedel

#8726: integer-gmp division regression
------------------------------------------------+--------------------------
Reporter: erikd | Owner: hvr
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: libraries (other) | Version:
Resolution: | 7.8.1-rc1
Operating System: Unknown/Multiple | Keywords:
Type of failure: Incorrect result at runtime | Integer-gmp
Test Case: | Architecture:
Blocking: | Unknown/Multiple
| Difficulty:
| Unknown
| Blocked By:
| Related Tickets:
------------------------------------------------+--------------------------
Comment (by Herbert Valerio Riedel

#8726: integer-gmp division regression ------------------------------------------------+-------------------------- Reporter: erikd | Owner: hvr Type: bug | Status: closed Priority: highest | Milestone: 7.8.1 Component: libraries (other) | Version: Resolution: fixed | 7.8.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Incorrect result at runtime | Integer-gmp Test Case: | Architecture: Blocking: | Unknown/Multiple | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Changes (by thoughtpolice): * status: new => closed * resolution: => fixed Comment: Merged to HEAD/7.8 by Herbert. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8726#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8726: integer-gmp division regression ------------------------------------------------+-------------------------- Reporter: erikd | Owner: hvr Type: bug | Status: closed Priority: highest | Milestone: 7.8.1 Component: libraries (other) | Version: Resolution: fixed | 7.8.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Incorrect result at runtime | integer-gmp Test Case: numeric/should_run/T8726 | Architecture: Blocking: | Unknown/Multiple | Difficulty: | Unknown | Blocked By: | Related Tickets: #8647 ------------------------------------------------+-------------------------- Changes (by hvr): * keywords: Integer-gmp => integer-gmp * testcase: => numeric/should_run/T8726 * related: => #8647 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8726#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC