summaryrefslogtreecommitdiff
path: root/testsuite/tests/hpc
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 /testsuite/tests/hpc
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 'testsuite/tests/hpc')
-rw-r--r--testsuite/tests/hpc/T11798.stdout2
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]