#5252: UNPACK without optimisation leads to panic
-------------------------------------------+--------------------------------
  Reporter:  simonpj                       |          Owner:                  
      Type:  bug                           |         Status:  new             
  Priority:  normal                        |      Milestone:                  
 Component:  Compiler                      |        Version:  7.6.1           
Resolution:                                |       Keywords:                  
        Os:  Unknown/Multiple              |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown                  |     Difficulty:  Unknown         
  Testcase:  deSugar/should_compile/T5252  |      Blockedby:                  
  Blocking:                                |        Related:                  
-------------------------------------------+--------------------------------

Comment(by simonpj@…):

 commit 5bae803a18b17bdb158a7780e6b6ac3c520e5b39
 {{{
 Author: Simon Peyton Jones <simo...@microsoft.com>
 Date:   Sat Sep 15 23:09:25 2012 +0100

     Fix UNPACK with -fomit-interface-pragmas.

     We were missing a case, so that you could expose a constructor
     with UNPACKed fields, but the field tpye was trimmed, and hence
     can't be expanded.

     Fixes Trac #5252 (revived)

  compiler/typecheck/TcTyClsDecls.lhs |   29 ++++++++++++++++-------------
  1 files changed, 16 insertions(+), 13 deletions(-)
 }}}

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