logo       

[ ghc-Bugs-814864 ] bug ghc --make: msg#00080

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-814864 ] bug ghc --make

Bugs item #814864, was opened at 2003-09-29 19:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=814864&group_id=8032

Category: Compiler
Group: 6.0
Status: Open
Resolution: None
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

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=814864&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise