[GHC] #14178: Constant folding bug due to 193664d42dbceadaa1e4689dfa17ff1cf5a405a0

#14178: Constant folding bug due to 193664d42dbceadaa1e4689dfa17ff1cf5a405a0 -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.4.1 Component: Compiler | Version: 8.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Angerman points out on [[https://mail.haskell.org/pipermail/ghc- devs/2017-September/014572.html|ghc-devs]] a rather frightenin-looking regression involving integer constant folding. It seems that 193664d42dbceadaa1e4689dfa17ff1cf5a405a0 flipped the order of arguments in the constant-folding logic for binary-operations. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14178 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14178: Constant folding bug due to 193664d42dbceadaa1e4689dfa17ff1cf5a405a0 -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: patch Priority: highest | Milestone: 8.4.1 Component: Compiler | Version: 8.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): Phab:D3904 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D3904 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14178#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14178: Constant folding bug due to 193664d42dbceadaa1e4689dfa17ff1cf5a405a0
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: patch
Priority: highest | Milestone: 8.4.1
Component: Compiler | Version: 8.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): Phab:D3904
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#14178: Constant folding bug due to 193664d42dbceadaa1e4689dfa17ff1cf5a405a0
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: patch
Priority: highest | Milestone: 8.4.1
Component: Compiler | Version: 8.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): Phab:D3904
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#14178: Constant folding bug due to 193664d42dbceadaa1e4689dfa17ff1cf5a405a0 -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: closed Priority: highest | Milestone: 8.4.1 Component: Compiler | Version: 8.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | simpleCore/should_run/T14178 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3904 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * testcase: => simpleCore/should_run/T14178 * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14178#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC