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

GHC ghc-devs at haskell.org
Thu Jan 11 22:44:27 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 heisenbug):

 Replying to [comment:20 heisenbug]:
 > Replying to [comment:19 heisenbug]:
 > > Replying to [comment:18 heisenbug]:
 > > > [snippety]
 > >
 > which breaks the contract. Let's see what `getUserData` does...

 `getSymtabName` should somehow check the `getTag#` of the presumably
 strict fields and if any of them is 0, `seq` it?

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


More information about the ghc-tickets mailing list