[GHC] #14626: No need to enter a scrutinised value

GHC ghc-devs at haskell.org
Fri Jan 12 08:42:10 UTC 2018


#14626: No need to enter a scrutinised value
-------------------------------------+-------------------------------------
        Reporter:  heisenbug         |                Owner:  heisenbug
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:  performance
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13861            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I think you believe that there is a heap-allocated `Name` with an un-
 evaluated `n_occ` field.   There is only one place in the code generator
 namely `StgCmmCon.buildDynCon'`.  You could perhaps add (runtime)
 assertions there to see if any strict fields had un-tagged pointers.

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


More information about the ghc-tickets mailing list