Bugs item #814864, was opened at 2003-09-30 02:40
Message generated for change (Settings changed) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=814864&group_id=8032

Category: Compiler
Group: 6.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug ghc --make

Initial Comment:
Using ghc-6.0 with

   ghc --make mimico.hs 

gives:

   ghc: panic! (the 'impossible' happened, GHC 6.0):
   coreSyn/coreUtils.lhs: 1188: Non-exaustive patterns
   in function isCrossDllArg

I've done some work to help you finding the cause of 
the bug, by leaving only 4 (stripped down) files (see 
attachment). A single line --- the definition of function 
getInput, in ParsecPrim.hs --- is indicated that, if 
modified (by writing, say, "getInput=undefined") 
causes "ghc --make mimco.hs" not to 'panic'.
(The bug turned out to appear in Parsec files; seems 
Daan Leijen didn't use "ghc --make" :-). 

Hope that helps...

Tchau,

Carlos

----------------------------------------------------------------------

>Comment By: Simon Peyton Jones (simonpj)
Date: 2003-10-06 13:08

Message:
Logged In: YES 
user_id=50165

I believe this bug is fixed in 6.0.1

Simon

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2003-10-01 03:23

Message:
Logged In: NO 

Oops, it has nothing to do with "--make":

    ghc -c ParsecPrim.hs 

causes the same crash...

Silly guessing by myself.

Tchau, Carlos


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=814864&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to