[GHC] #12622: Unboxed static pointers lead to missing SPT entries

GHC ghc-devs at haskell.org
Fri Jan 6 13:38:15 UTC 2017


#12622: Unboxed static pointers lead to missing SPT entries
-------------------------------------+-------------------------------------
        Reporter:  mboes             |                Owner:
                                     |  facundo.dominguez
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2709
       Wiki Page:                    |  Phab:D2720
-------------------------------------+-------------------------------------

Comment (by facundo.dominguez):

 I figured this one. GHC propagates strictness information from 'error' to
 'makeStatic', and then from 'makeStatic' to the floated top-level binding
 which uses it.

 The only effective way I found to turned it off is to use
 {{{
 {-# OPTIONS_GHC -fignore-interface-pragmas #-}
 }}}
 at the top of {{{GHC/StaticPtr/Internal.hs}}}.

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


More information about the ghc-tickets mailing list