From 78861e384da0303f2e5f0011df19a3b5777fc8a8 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 22 Aug 2006 14:33:37 +0000 Subject: [PATCH] FastString and StringBuffer need -funbox-strict-fields too For the benefit of old GHCs that don't understand {-# UNPACK #-} --- compiler/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 -- 1.7.10.4