#5303: GHC crash (panic) with -O2 and nonexistent .hi
-------------------------+--------------------------------------------------
    Reporter:  mornfall  |        Owner:                               
        Type:  bug       |       Status:  merge                        
    Priority:  high      |    Milestone:  7.2.1                        
   Component:  Compiler  |      Version:  7.0.3                        
    Keywords:            |     Testcase:  simplCore/should_compile/T303
   Blockedby:            |   Difficulty:                               
          Os:  Linux     |     Blocking:                               
Architecture:  x86       |      Failure:  Compile-time crash           
-------------------------+--------------------------------------------------
Changes (by simonpj):

  * status:  new => merge
  * testcase:  => simplCore/should_compile/T303


Comment:

 I believe that, despite the commit message, this patch fixes the bug
 {{{
 commit e91c7ea8afb81f0ed184437f3eef840e5faf047c
 Author: Simon Peyton Jones <simo...@microsoft.com>
 Date:   Fri Jul 15 17:14:10 2011 +0100

     A bit more work to to keep the right in-scope set around

     This change gets rid of a debug WARNING; it wasn't
     actually making anything go wrong, but it's best to
     have the correct in-scope set.

  compiler/typecheck/TcInstDcls.lhs |    6 ++-
  compiler/types/Coercion.lhs       |   18 +++----
  compiler/types/OptCoercion.lhs    |   98
 +++++++++++++++++++------------------
  3 files changed, 61 insertions(+), 61 deletions(-)
 }}}
 I think I just forgot what I had fixed!  Anyway, it certainly works now,
 and I've added a test. Thanks for reporting it.

 Pls merge to 7.2

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5303#comment:6>
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