[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 <ben@…>): In [changeset:"8a1de424143f5b75e12976ca739e58fe04ae04d6/ghc" 8a1de424/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="8a1de424143f5b75e12976ca739e58fe04ae04d6" Add testcase for #14178 Reviewers: austin Subscribers: rwbarton, thomie GHC Trac Issues: #14178 Differential Revision: https://phabricator.haskell.org/D3905 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14178#comment:3> 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 <ben@…>): In [changeset:"1f052c50c1bcdfb838774eba5a83ae95a54f4702/ghc" 1f052c5/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="1f052c50c1bcdfb838774eba5a83ae95a54f4702" Fix order of PrelRule Test Plan: Added testcase in D3905. Reviewers: austin Subscribers: angerman, rwbarton, thomie GHC Trac Issues: #14178 Differential Revision: https://phabricator.haskell.org/D3904 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14178#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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