#1804: Panic: applyTypeToArgs with -O
-------------------------------------+--------------------------------------
 Reporter:  dons                     |          Owner:                
     Type:  bug                      |         Status:  closed        
 Priority:  normal                   |      Milestone:                
Component:  Compiler (Type checker)  |        Version:  6.8           
 Severity:  normal                   |     Resolution:  fixed         
 Keywords:                           |     Difficulty:  Unknown       
 Testcase:                           |   Architecture:  x86_64 (amd64)
       Os:  OpenBSD                  |  
-------------------------------------+--------------------------------------
Changes (by dons):

  * status:  new => closed
  * resolution:  => fixed

Old description:

> My HWN publishing program,
>
>     http://www.galois.com/~dons/publish.hs
>
> elicits a panic from a ghc 6.8 snapshot from Sep 9, when compiled with
> -O:
>
> {{{
> $ ghc --make -O publish.hs -o publish -no-recomp
> [1 of 1] Compiling Main             ( publish.hs, publish.o )
> ghc-6.9.20070916: panic! (the 'impossible' happened)
>   (GHC version 6.9.20070916 for x86_64-unknown-openbsd):
>         applyTypeToArgs
>     unix-2.0:System.Posix.Signals.a37{v rjv} [gid]
>       (unix-2.0:System.Posix.Signals.a25{v rju} [gid]
>        `cast` (base:GHC.Prim.sym{(w) tc 34v}
>                  (base:Foreign.C.Types.:CoCInt{tc rjt})
>                :: <pred>base:GHC.Int.Int32{tc 3V}
>                           ~
>                         <nt>base:Foreign.C.Types.CInt{tc r9e}))
>       unix-2.0:System.Posix.Signals.Ignore{v rjs} [gid]
>       (base:Data.Maybe.Nothing{v r4U} [gid]
>          @ <nt>unix-2.0:System.Posix.Signals.SignalSet{tc rjr})
>       eta{v a3Uh} [lid]
>     (# base:GHC.Prim.State#{(w) tc 32q}
>          base:GHC.Prim.RealWorld{(w) tc 31E},
>        base:GHC.Base.(){(w) tc 40} #)
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
> }}}

New description:

 Not reproducable with 6.8.1 as released. Should be closed.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1804#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to