[GHC] #15286: "Can't use Natural in base" when compiling GHC.Natural with -O0

GHC ghc-devs at haskell.org
Tue Sep 4 07:11:32 UTC 2018


#15286: "Can't use Natural in base" when compiling GHC.Natural with -O0
-------------------------------------+-------------------------------------
        Reporter:  alpmestan         |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4880
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Compiling `Num` with `-O0` will kill numeric performance for every single
 Haskell program -- it's not acceptable.

 Does anyone understand what the actual problem is here?

 Why does it only happen with Hadrian?

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15286#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list