From: Simon Marlow Date: Tue, 22 Aug 2006 14:33:37 +0000 (+0000) Subject: FastString and StringBuffer need -funbox-strict-fields too X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=78861e384da0303f2e5f0011df19a3b5777fc8a8 FastString and StringBuffer need -funbox-strict-fields too For the benefit of old GHCs that don't understand {-# UNPACK #-} --- diff --git a/compiler/Makefile b/compiler/Makefile index 1d39804..e82adc8 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -567,16 +567,14 @@ utils/Digraph_HC_OPTS = -fglasgow-exts basicTypes/SrcLoc_HC_OPTS = -funbox-strict-fields -utils/Binary_HC_OPTS = -funbox-strict-fields - # We always optimise some low-level modules, otherwise performance of # a non-optimised compiler is severely affected. main/BinIface_HC_OPTS += -O -utils/Binary_HC_OPTS += -O +utils/Binary_HC_OPTS += -O -funbox-strict-fields utils/FastMutInt_HC_OPTS += -O utils/Encoding_HC_OPTS += -O -utils/StringBuffer_HC_OPTS += -O -utils/FastString_HC_OPTS += -O +utils/StringBuffer_HC_OPTS += -O -funbox-strict-fields +utils/FastString_HC_OPTS += -O -funbox-strict-fields # ---- Profiling ---- #simplCore/Simplify_HC_OPTS = -auto-all