[GHC] #4903: Inliner looping when specialising across modules (with GADTs and other extensions)
GHC
cvs-ghc at haskell.org
Thu Jul 21 13:55:44 CEST 2011
#4903: Inliner looping when specialising across modules (with GADTs and other
extensions)
---------------------------------------------+------------------------------
Reporter: dreixel | Owner: simonpj
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: Compiler | Version: 7.1
Resolution: | Keywords:
Testcase: simplCore/should_compile/T4903 | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Compile-time crash |
---------------------------------------------+------------------------------
Comment(by simonpj@…):
commit 98e9096cdcfe7501109b66e3a22e7a41eee4521b
{{{
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Jul 21 12:45:51 2011 +0100
When specialising recursive functions, mark the specialised function
NOINLINE
This fixes Trac #4903. See Note [Specialising imported functions] in
OccurAnal.
compiler/deSugar/DsBinds.lhs | 7 +++++--
compiler/specialise/Specialise.lhs | 3 +++
2 files changed, 8 insertions(+), 2 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4903#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list