unsafeperformio

Ford Prefect compilergeek2004 at yahoo.com
Tue Jun 15 05:37:19 EDT 2004


Hi,

I added a new option to ghc (6.2.1 release) -Of?le,
wh?ch read opt?ons from a f?le us?ng unsafeperform?oç
When I try to comp?le cop?s of the same f?le w?th
d?fferent opt?ons (same d?rectory, but -o to d?fferent
f?le) somet?mes I get error message attached.

Th?s does not happen w?th unmod?f?ed ghc-6.2. Is
anyth?ng speca?l about unsafeperform?o to cause th?s
error?

Thanks, Kerem


	
	
		
___________________________________________________________ALL-NEW
Yahoo! Messenger - sooooo many all-new ways to express
yourself http://uk.messenger.yahoo.com


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
-------------- next part --------------
ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
	Missing alternative
    GHCziBase.ZC {- d 64 -}
    (GHCziBase.ZCDEq {- d rq3 -},
     [tpl_B2, tpl_B3],
     case tpl_B3 b1 {- v a7g -} eta_s4Wp of wild_X3s _Kd T {
       GHCziBase.True {- d 6u -} ->
	 GHCziBase.ZC {- v 65 -}
	   @ a {- tv a41t -}
	   a1 {- v a7f -}
	   (Main.matchsnd {- v r4i -}
	      @ a {- tv a41t -}
	      @ Main.Element {- tc r43 -}
	      tpl_X3n
	      ps {- v a7h -}
	      eta_s4Wp);
       GHCziBase.False {- d 68 -} ->
	 Main.matchsnd {- v r4i -}
	   @ a {- tv a41t -}
	   @ Main.Element {- tc r43 -}
	   tpl_X3n
	   ps {- v a7h -}
	   eta_s4Wp
     })


or

ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
	cgPanic
    tpl_B1
    static binds for:
    local binds for:
    tpl {- v r5ML -}
    zeze6 {- v r5MN -}
    zddmzsze1 {- v r5MP -}
    zddEq2 {- v r5MR -}
    a {- v r5MT -}
    zeze {- v r5MV -}
    zddEq {- v r5MX -}
    zddEq1 {- v r5MZ -}
    zddOrd {- v r5N1 -}
    zddEq21 {- v r5N3 -}
    zddEq3 {- v r5N5 -}
    zddEq4 {- v r5N7 -}
    SRT labelghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
	initC: srt

Please report it as a compiler bug to glasgow-haskell-bugs at haskell.org,
or http://sourceforge.net/projects/ghc/.



More information about the Glasgow-haskell-bugs mailing list