summaryrefslogtreecommitdiff
path: root/docs/users_guide/8.4.1-notes.rst
diff options
context:
space:
mode:
authorDavid Feuer <david.feuer@gmail.com>2017-12-11 13:03:52 -0500
committerBen Gamari <ben@smart-cactus.org>2017-12-11 13:03:53 -0500
commit708ed9ca4dbf372817fe84a2fe486940123bddfb (patch)
tree30d67b789552b9f017674d4e9f2b6341cc75eede /docs/users_guide/8.4.1-notes.rst
parentcafe98345cb5d4b11f2059d60d2f20e976ef4f2a (diff)
downloadhaskell-708ed9ca4dbf372817fe84a2fe486940123bddfb.tar.gz
Allow users to ignore optimization changes
* Add a new flag, `-fignore-optim-changes`, allowing them to avoid recompilation if the only changes are to the `-O` level or to flags controlling optimizations. * When `-fignore-optim-changes` is *off*, recompile when optimization flags (e.g., `-fno-full-laziness`) change. Previously, we ignored these unconditionally when deciding whether to recompile a module. Reviewers: austin, bgamari, simonmar Reviewed By: simonmar Subscribers: duog, carter, simonmar, rwbarton, thomie GHC Trac Issues: #13604 Differential Revision: https://phabricator.haskell.org/D4123
Diffstat (limited to 'docs/users_guide/8.4.1-notes.rst')
-rw-r--r--docs/users_guide/8.4.1-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/8.4.1-notes.rst b/docs/users_guide/8.4.1-notes.rst
index 7d6cfddce6..246a278579 100644
--- a/docs/users_guide/8.4.1-notes.rst
+++ b/docs/users_guide/8.4.1-notes.rst
@@ -256,6 +256,12 @@ Compiler
- Lots of other bugs. See `Trac <https://ghc.haskell.org/trac/ghc/query?status=closed&milestone=8.4.1&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&order=priority>`_
for a complete list.
+- New flags :ghc-flag:`-fignore-optim-changes` and
+ :ghc-flag:`-fignore-hpc-changes` allow GHC to reuse previously compiled
+ modules even if they were compiled with different optimisation or HPC
+ flags. These options are enabled by default by :ghc-flag:`--interactive`.
+ See :ghc-ticket:`13604`
+
Runtime system
~~~~~~~~~~~~~~