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

GHC ghc-devs at haskell.org
Fri Sep 1 13:57:05 UTC 2017


#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


More information about the ghc-tickets mailing list