diff options
author | David Feuer <david.feuer@gmail.com> | 2017-12-11 13:03:52 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-12-11 13:03:53 -0500 |
commit | 708ed9ca4dbf372817fe84a2fe486940123bddfb (patch) | |
tree | 30d67b789552b9f017674d4e9f2b6341cc75eede /testsuite/tests/ghci/scripts/ghci057.stdout | |
parent | cafe98345cb5d4b11f2059d60d2f20e976ef4f2a (diff) | |
download | haskell-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 'testsuite/tests/ghci/scripts/ghci057.stdout')
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci057.stdout | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci057.stdout b/testsuite/tests/ghci/scripts/ghci057.stdout index b2de5417a2..c5be11aa58 100644 --- a/testsuite/tests/ghci/scripts/ghci057.stdout +++ b/testsuite/tests/ghci/scripts/ghci057.stdout @@ -6,6 +6,8 @@ with the following modifiers: GHCi-specific dynamic flag settings: other dynamic, non-language, flag settings: -fno-diagnostics-show-caret + -fignore-optim-changes + -fignore-hpc-changes -fno-ghci-history -fimplicit-import-qualified -fshow-warning-groups @@ -22,6 +24,8 @@ with the following modifiers: GHCi-specific dynamic flag settings: other dynamic, non-language, flag settings: -fno-diagnostics-show-caret + -fignore-optim-changes + -fignore-hpc-changes -fno-ghci-history -fimplicit-import-qualified -fshow-warning-groups @@ -37,6 +41,8 @@ with the following modifiers: GHCi-specific dynamic flag settings: other dynamic, non-language, flag settings: -fno-diagnostics-show-caret + -fignore-optim-changes + -fignore-hpc-changes -fno-ghci-history -fimplicit-import-qualified -fshow-warning-groups @@ -54,6 +60,8 @@ with the following modifiers: GHCi-specific dynamic flag settings: other dynamic, non-language, flag settings: -fno-diagnostics-show-caret + -fignore-optim-changes + -fignore-hpc-changes -fno-ghci-history -fimplicit-import-qualified -fshow-warning-groups |