#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 <simo...@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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to