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

GHC ghc-devs at haskell.org
Wed Nov 16 11:46:25 UTC 2016


#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
-------------------------------------+-------------------------------------
Changes (by facundo.dominguez):

 * differential:  Phab:D2709 => Phab:D2709 Phab:D2720


Comment:

 Found a fix for the linter. It introduces a twin data constructor
 StaticPtrInternal which is used exclusively when desugaring the static
 form. This avoids confusion when unpacking inserts occurrences of the
 StaticPtr constructor in the code.

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


More information about the ghc-tickets mailing list