[GHC] #12207: CgStaticPointers fails with -O

GHC ghc-devs at haskell.org
Thu Jun 23 14:05:39 UTC 2016


#12207: CgStaticPointers fails with -O
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                Owner:
                                     |  facundo.dominguez
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:
       Component:  Compiler          |              Version:  8.1
  (CodeGen)                          |             Keywords:
      Resolution:                    |  StaticPointers
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  codeGen/should_run/CgStaticPointers
      Blocked By:                    |             Blocking:
 Related Tickets:  #11656            |  Differential Rev(s):  Phab:D2355
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Facundo Domínguez <facundo.dominguez@…>):

 In [changeset:"7fc20b02b20c97209b97f0e36d34a4ef40f537a4/ghc" 7fc20b0/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="7fc20b02b20c97209b97f0e36d34a4ef40f537a4"
 Have Core linter accept programs using StaticPointers and -fhpc.

 Summary:
 This patch uses collectArgsTicks instead of collectArgs to test that
 StaticPtr only occurs at the top of RHSs of top-level expressions.

 Ticks introduced by -fhpc would interfere otherwise.

 Test Plan: ./validate

 Reviewers: thomie, austin, goldfire, bgamari, simonpj

 Reviewed By: simonpj

 Differential Revision: https://phabricator.haskell.org/D2355

 GHC Trac Issues: #12207
 }}}

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


More information about the ghc-tickets mailing list