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/hpc | |
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/hpc')
-rw-r--r-- | testsuite/tests/hpc/T11798.stdout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/hpc/T11798.stdout b/testsuite/tests/hpc/T11798.stdout index 024b0dcea3..90142ddd41 100644 --- a/testsuite/tests/hpc/T11798.stdout +++ b/testsuite/tests/hpc/T11798.stdout @@ -1,2 +1,2 @@ [1 of 1] Compiling T11798 ( T11798.hs, T11798.o ) -[1 of 1] Compiling T11798 ( T11798.hs, T11798.o ) [flags changed] +[1 of 1] Compiling T11798 ( T11798.hs, T11798.o ) [HPC flags changed] |