X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FMakefile;h=7f23b5f7ab529d389a43d4eb8b2b13a4afb6ffd0;hb=2d2f0570c0733e7f5bf24f5e79f408e66cf6bdff;hp=98d0b7710a340ce47d34ff13c354e87513585708;hpb=f752bd003838d974e6621cef5d0cfa7bdbb67131;p=ghc-hetmet.git diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 98d0b77..7f23b5f 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.152 2001/04/06 04:28:53 lewie Exp $ +# $Id: Makefile,v 1.154 2001/04/13 13:37:24 panne Exp $ TOP = .. include $(TOP)/mk/boilerplate.mk @@ -218,11 +218,22 @@ utils/PrimPacked_HC_OPTS = -fvia-C -monly-3-regs # ByteCodeItbls uses primops that the NCG doesn't support yet. ghci/ByteCodeItbls_HC_OPTS = -fvia-C - -# CSE interacts badly with the top-level IORefs in DriverState, causing some -# of them to be commoned up. We have a fix for this in 5.00+, but earlier -# versions of the compiler will need CSE turned off on this module. +ghci/ByteCodeLink_HC_OPTS = -fvia-C + +# CSE interacts badly with top-level IORefs (reportedly in DriverState and +# DriverMkDepend), causing some of them to be commoned up. We have a fix for +# this in 5.00+, but earlier versions of the compiler will need CSE turned off. +# To be on the safe side, we disable CSE in *all* modules with top-level IORefs. +compMan/CompManager_HC_OPTS = -fno-cse +ghci/InteractiveUI_HC_OPTS = -fno-cse +main/CmdLineOpts_HC_OPTS = -fno-cse +main/DriverFlags_HC_OPTS = -fno-cse +main/DriverMkDepend_HC_OPTS = -fno-cse +main/DriverPipeline_HC_OPTS = -fno-cse main/DriverState_HC_OPTS = -fno-cse +main/DriverUtil_HC_OPTS = -fno-cse +main/Finder_HC_OPTS = -fno-cse +main/TmpFiles_HC_OPTS = -fno-cse # ---------------------------------------------------------------------------- # C compilations