Always use -funbox-strict-fields for Binary
authorSimon Marlow <simonmar@microsoft.com>
Mon, 21 Aug 2006 15:21:11 +0000 (15:21 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 21 Aug 2006 15:21:11 +0000 (15:21 +0000)
For some reason this was only enabled when $(bootstrapped)=YES.  This
would be one reason why the stage1 compiler is slow.  I guess we'll
find out if anything goes wrong.

compiler/Makefile

index e3407f5..1d39804 100644 (file)
@@ -567,9 +567,7 @@ utils/Digraph_HC_OPTS               = -fglasgow-exts
 
 basicTypes/SrcLoc_HC_OPTS      = -funbox-strict-fields
 
-ifeq "$(bootstrapped)" "YES"
 utils/Binary_HC_OPTS           = -funbox-strict-fields
-endif
 
 # We always optimise some low-level modules, otherwise performance of
 # a non-optimised compiler is severely affected.