[GHC] #12207: CgStaticPointers fails with -O
GHC
ghc-devs at haskell.org
Tue Jun 28 14:03:55 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: | Phab:D2366
-------------------------------------+-------------------------------------
Comment (by Facundo Domínguez <facundo.dominguez@…>):
In [changeset:"dd92c67be573604290560b93890ce4b8eccd40b3/ghc"
dd92c67b/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="dd92c67be573604290560b93890ce4b8eccd40b3"
Stop the simplifier from removing StaticPtr binds.
Summary:
We have the FloatOut pass create exported ids for floated StaticPtr
bindings. The simplifier doesn't try to remove those.
This patch also improves on 7fc20b by making a common definition
collectStaticPtrSatArgs to test for StaticPtr binds.
Fixes #12207.
Test Plan: ./validate
Reviewers: simonpj, austin, bgamari, simonmar, goldfire
Reviewed By: simonpj
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2366
GHC Trac Issues: #12207
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12207#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list