#1128: The impossible happened, code commented
----------------------+-----------------------------------------------------
 Reporter:  humasect  |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  lowest    |      Milestone:  6.6.1  
Component:  Compiler  |        Version:  6.6    
 Severity:  major     |     Resolution:         
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  Unknown
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Changes (by thorkilnaur):

  * summary:  [unreproducible] The impossible happened, code commented =>
              The impossible happened, code commented

Comment:

 I attach ghc_trac_1128_imp2.tar.gz (a slightly modified imp.tar.bz2) that
 PPC Mac OS X 10.4 reacts to as follows:

 {{{
 Thorkil-Naurs-Computer:~/tn/GHC/trac/1128/base thorkilnaur$ gunzip
 ghc_trac_1128_imp2.tar.gz
 Thorkil-Naurs-Computer:~/tn/GHC/trac/1128/base thorkilnaur$ mkdir verify
 Thorkil-Naurs-Computer:~/tn/GHC/trac/1128/base thorkilnaur$ cd verify
 Thorkil-Naurs-Computer:~/tn/GHC/trac/1128/base/verify thorkilnaur$ tar xvf
 ../ghc_trac_1128_imp2.tar
 ghc_trac_1128_imp2/
 ghc_trac_1128_imp2/cbits.c
 ghc_trac_1128_imp2/Level.hs
 ghc_trac_1128_imp2/Math.hs
 ghc_trac_1128_imp2/ODE.hs
 Thorkil-Naurs-Computer:~/tn/GHC/trac/1128/base/verify thorkilnaur$ diff
 ../imp/ ghc_trac_1128_imp2/
 diff ../imp/Level.hs ghc_trac_1128_imp2/Level.hs
 28a29,30
 >       initializeWorld :: WorldID->IO (),
 >
 45d46
 < {-
 53d53
 < -}
 Thorkil-Naurs-Computer:~/tn/GHC/trac/1128/base/verify thorkilnaur$ cd
 ghc_trac_1128_imp2
 Thorkil-Naurs-Computer:~/tn/GHC/trac/1128/base/verify/ghc_trac_1128_imp2
 thorkilnaur$ ghc --make -fno-implicit-prelude Level.hs
 [1 of 3] Compiling ODE              ( ODE.hs, ODE.o )
 [2 of 3] Compiling Math             ( Math.hs, Math.o )
 [3 of 3] Compiling Level            ( Level.hs, Level.o )
 ghc-6.7.20070209: panic! (the 'impossible' happened)
   (GHC version 6.7.20070209 for powerpc-apple-darwin):
         lookupDeprec base:GHC.Real.fromRational{v 01G}

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 Thorkil-Naurs-Computer:~/tn/GHC/trac/1128/base/verify/ghc_trac_1128_imp2
 thorkilnaur$
 }}}

 This happens every time I try. So I have taken the liberty of removing the
 [unreproducible]-part of the summary.

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