diff options
author | Johan Tibell <johan.tibell@gmail.com> | 2013-04-26 11:14:01 -0700 |
---|---|---|
committer | Johan Tibell <johan.tibell@gmail.com> | 2013-04-30 08:10:06 -0700 |
commit | ade1ae97ed52c493ec415c1601dace39b64071dd (patch) | |
tree | 131828007a85d5aa32b2d9302157dd58b7825c6c /compiler | |
parent | d75ca39b2ff8132dde6eb6aee946d75ba0a3f3ef (diff) | |
download | haskell-ade1ae97ed52c493ec415c1601dace39b64071dd.tar.gz |
Enable -funbox-small-strict-fields by default
The flag shows no real impact on nofib benchmarks and GHC itself,
which is expected given the small number of strict but not already
unpacked fields in the source of these programs. However, the flag
allows us to omit most of the UNPACK pragmas that are so common in
source code today.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/main/DynFlags.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 33eae5a199..905c0d884e 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -2767,6 +2767,7 @@ optLevelFlags , ([1,2], Opt_FullLaziness) , ([1,2], Opt_Specialise) , ([1,2], Opt_FloatIn) + , ([1,2], Opt_UnboxSmallStrictFields) , ([2], Opt_LiberateCase) , ([2], Opt_SpecConstr) |