[GHC] #8525: lib/integer/integerConstantFolding fails with -DDEBUG

GHC ghc-devs at haskell.org
Wed Dec 17 14:45:36 UTC 2014


#8525: lib/integer/integerConstantFolding fails with -DDEBUG
-------------------------------------------+-------------------------------
        Reporter:  nomeata                 |            Owner:
            Type:  bug                     |           Status:  new
        Priority:  normal                  |        Milestone:
       Component:  Test Suite              |          Version:  7.6.3
      Resolution:                          |         Keywords:
Operating System:  Unknown/Multiple        |     Architecture:
 Type of failure:  None/Unknown            |  Unknown/Multiple
       Test Case:  integerConstantFolding  |       Difficulty:  Unknown
        Blocking:                          |       Blocked By:
                                           |  Related Tickets:
-------------------------------------------+-------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"6b11bab6961a1518a15eaa3d3b4ce40702724ca5/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6b11bab6961a1518a15eaa3d3b4ce40702724ca5"
 Improve TidyPgm.hasCafRefs to account for Integer literals (Trac #8525)

 See Note [Disgusting computation of CafRefs] in TidyPgm.

 Also affects CoreUtils.rhsIsStatic.

 The real solution here is to compute CAF and arity information
 from the STG-program, and feed it back to tidied program for
 the interface file and later GHCi clients.  A battle for another
 day.

 But at least this commit reduces the number of gratuitous CAFs, and
 hence SRT entries.  And kills off a batch of ASSERT failures.
 }}}

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


More information about the ghc-tickets mailing list