diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2017-02-17 14:50:59 +0000 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-02-20 13:33:12 -0500 |
commit | 2d5be63d1140a409eb18d1a77d439053844f7ce7 (patch) | |
tree | 788de731ff517049b1b0ed79bd4f21e67aacc3f1 /testsuite/tests/codeGen | |
parent | 0aafe5191c3c4b83cc414fb5cb31d2e6f100bee0 (diff) | |
download | haskell-2d5be63d1140a409eb18d1a77d439053844f7ce7.tar.gz |
Change -dppr-ticks to -dsuppress-ticks
I spent about two hours today hunting fruitlessly for a simplifier
bug (when fixing Trac #13255), only to find that it was caused by
-ddump-X silently suppressing all ticks in Core.
I think this has happened to me once before.
So I've changed to make tick-printing on by default (like coercions,
etc), with a flag -dsuppress-ticks (like -dsuppress-coercions) to
suppress them.
Blargh.
-dppr-ticks is still there, but deprecated.
Diffstat (limited to 'testsuite/tests/codeGen')
-rw-r--r-- | testsuite/tests/codeGen/should_compile/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/codeGen/should_compile/Makefile b/testsuite/tests/codeGen/should_compile/Makefile index fda9c9490e..a3e03d244b 100644 --- a/testsuite/tests/codeGen/should_compile/Makefile +++ b/testsuite/tests/codeGen/should_compile/Makefile @@ -9,13 +9,13 @@ debug: # Without optimisations, we should get annotations for basically # all expressions in the example program. echo == Dbg == - '$(TEST_HC)' $(TEST_HC_OPTS) debug -fforce-recomp -g -dppr-ticks -ddump-cmm-verbose \ + '$(TEST_HC)' $(TEST_HC_OPTS) debug -fforce-recomp -g -ddump-cmm-verbose \ | grep -o src\<debug.hs:.*\> | sort -u ./debug # With optimisations we will get fewer annotations. echo == Dbg -O2 == - '$(TEST_HC)' $(TEST_HC_OPTS) debug -fforce-recomp -g -dppr-ticks -ddump-cmm-verbose -O2 \ + '$(TEST_HC)' $(TEST_HC_OPTS) debug -fforce-recomp -g -ddump-cmm-verbose -O2 \ > debug.cmm cat debug.cmm | grep -o src\<debug.hs:.*\> | sort -u |