summaryrefslogtreecommitdiff
path: root/testsuite/tests/stranal/should_compile
diff options
context:
space:
mode:
authorSeraphime Kirkovski <kirkseraph@gmail.com>2016-05-24 22:30:09 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-05-24 23:49:21 +0200
commit1956cbf13bd2138500daebd5f1f0a4931d8710ec (patch)
treee05db790e1db401fd7292d78334aa56738a3e362 /testsuite/tests/stranal/should_compile
parentfe8a4e5d77ef8b2bdb2e7e87d50eb477c94bce43 (diff)
downloadhaskell-1956cbf13bd2138500daebd5f1f0a4931d8710ec.tar.gz
Fix: #12084 deprecate old profiling flags
Change help message so it doesn't specify -auto-all. Make old profiling flags deprecated as they are no longer documented. Update Makefile and documentation accordingly. Update release notes for ghc 8.2 Test Plan: ./verify; `ghc --help` shouldn't specify the -auto-all flag. Furthermore `ghc -fprof -auto-all` should emit a warning Reviewed By: thomie, austin Differential Revision: https://phabricator.haskell.org/D2257 GHC Trac Issues: #12084 Update submodule nofib
Diffstat (limited to 'testsuite/tests/stranal/should_compile')
-rw-r--r--testsuite/tests/stranal/should_compile/all.T2
-rw-r--r--testsuite/tests/stranal/should_compile/newtype.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/stranal/should_compile/all.T b/testsuite/tests/stranal/should_compile/all.T
index dabc9fcd84..97c3a6fd3f 100644
--- a/testsuite/tests/stranal/should_compile/all.T
+++ b/testsuite/tests/stranal/should_compile/all.T
@@ -27,7 +27,7 @@ test('syn', normal, compile, [''])
test('test', normal, compile, [''])
test('tst', normal, compile, [''])
test('unu', normal, compile, [''])
-test('newtype', req_profiling, compile, ['-prof -auto-all'])
+test('newtype', req_profiling, compile, ['-prof -fprof-auto'])
test('T1988', normal, compile, [''])
test('T8467', normal, compile, [''])
test('T8037', normal, compile, [''])
diff --git a/testsuite/tests/stranal/should_compile/newtype.hs b/testsuite/tests/stranal/should_compile/newtype.hs
index 8d3441fb72..4c9228c0eb 100644
--- a/testsuite/tests/stranal/should_compile/newtype.hs
+++ b/testsuite/tests/stranal/should_compile/newtype.hs
@@ -1,7 +1,7 @@
-- This one killed GHC 6.4 because it bogusly attributed
-- the CPR property to the constructor T
-- Result: a mkWWcpr crash
--- Needs -prof -auto-all to show it up
+-- Needs -prof -fprof-auto to show it up
module ShouldCompile where