[GHC] #10083: ghc: panic! (the 'impossible' happened)
GHC
ghc-devs at haskell.org
Tue Jul 21 13:20:47 UTC 2015
#10083: ghc: panic! (the 'impossible' happened)
-------------------------------------+-------------------------------------
Reporter: hedayaty | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.4
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Simon Peyton Jones <simonpj@…>):
In [changeset:"efa7b3a474bc373201ab145c129262a73c86f959/ghc" efa7b3a/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="efa7b3a474bc373201ab145c129262a73c86f959"
Add NOINLINE for hs-boot functions
This fixes Trac #10083.
The key change is in TcBinds.tcValBinds, where we construct
the prag_fn. With this patch we add a NOINLINE pragma for
any functions that were exported by the hs-boot file for this
module.
See Note [Inlining and hs-boot files], and #10083, for details.
The commit touches several other files becuase I also changed the
representation of the "pragma function" from a function TcPragFun
to an environment, TcPragEnv. This makes it easer to extend
during construction.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10083#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list