[GHC] #8037: GHC panic when compiling unsafeCoerce

GHC ghc-devs at haskell.org
Fri Sep 20 22:19:38 CEST 2013


#8037: GHC panic when compiling unsafeCoerce
---------------------------------+------------------------------------
        Reporter:  ghc@…         |            Owner:
            Type:  bug           |           Status:  infoneeded
        Priority:  normal        |        Milestone:
       Component:  Compiler      |          Version:  7.6.1
      Resolution:                |         Keywords:
Operating System:  MacOS X       |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+------------------------------------

Comment (by bgamari):

 I can reproduce a perhaps related issue with GHC 7.7 and `OpenGL-2.9.0.0`,

 {{{
 $ ghc -O Test.hs
 [1 of 1] Compiling Test             ( Test.hs, Test.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.7.20130919 for x86_64-unknown-linux):
         StgCmmEnv: variable not found
     ww_s3rs{v} [lid]
     local binds for:
     main:Test.crash{v r1pI} [gid]
     main:Test.invalidCast{v r1pJ} [gid]
     main:Test.crash1{v r3ss} [gid]
     main:Test.$wa{v r3st} [gid]
     ww{v s3tT} [lid]
     ww1{v s3tU} [lid]
     ww2{v s3tV} [lid]
     sat_s3tX{v} [lid]
     sat_s3tY{v} [lid]
     sat_s3tZ{v} [lid]
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8037#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list