[ ghc-Bugs-466766 ] -fext-core -fno-core behaves funny

noreply@sourceforge.net noreply@sourceforge.net
Mon, 01 Oct 2001 01:50:11 -0700


Bugs item #466766, was opened at 2001-10-01 01:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=466766&group_id=8032

Category: Driver
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Josef Svenningsson (josefs)
Assigned to: Nobody/Anonymous (nobody)
Summary: -fext-core -fno-core behaves funny

Initial Comment:
Suppose I have a module Main.hs which I have already
compiled, which means I already have Main.hi.

Now I compile it again with the flags -fext-core and
-fno-code. What happens now is that ghc says:
compilation IS NOT required

and generates an a.out (!) but not a Main.hcr.

Now this really surprised me. I expected that no a.out
should be generated (since I give the -fno-code flag)
but that Main.hcr still should be generated.


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

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