diff options
author | Douglas Wilson <douglas.wilson@gmail.com> | 2017-11-06 16:50:39 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-11-06 16:50:40 -0500 |
commit | fc6f58477fe0ecdc5ede3d6b7e6590caacb926ef (patch) | |
tree | 6a690c4a7cb791137698b4f1064cf3fb1c1ae10f /compiler/iface/BinIface.hs | |
parent | 275ac8ef0a0081f16abbfb8934e10cf271573768 (diff) | |
download | haskell-wip/use-O2.tar.gz |
Change `OPTIONS_GHC -O` to `OPTIONS_GHC -O2`wip/use-O2
These pragmas were having the perverse effect of having these
performance
critical modules be LESS optimized in builds with -O2.
Test Plan: Check on gipedia whether this is worthwhile.
Reviewers: austin, bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4156
Diffstat (limited to 'compiler/iface/BinIface.hs')
-rw-r--r-- | compiler/iface/BinIface.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/iface/BinIface.hs b/compiler/iface/BinIface.hs index 8ab2310bc4..31b5af0e86 100644 --- a/compiler/iface/BinIface.hs +++ b/compiler/iface/BinIface.hs @@ -4,7 +4,7 @@ -- (c) The University of Glasgow 2002-2006 -- -{-# OPTIONS_GHC -O #-} +{-# OPTIONS_GHC -O2 #-} -- We always optimise this, otherwise performance of a non-optimised -- compiler is severely affected |