summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-12-16 17:53:00 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-12-17 14:45:47 +0000
commit6b11bab6961a1518a15eaa3d3b4ce40702724ca5 (patch)
tree3a1602c0b451b9fd77ce6f4075d23f9372fa9b17 /testsuite/tests/lib
parent67a0cab6b501e2d6280b51655af66ad448b3deef (diff)
downloadhaskell-6b11bab6961a1518a15eaa3d3b4ce40702724ca5.tar.gz
Improve TidyPgm.hasCafRefs to account for Integer literals (Trac #8525)
See Note [Disgusting computation of CafRefs] in TidyPgm. Also affects CoreUtils.rhsIsStatic. The real solution here is to compute CAF and arity information from the STG-program, and feed it back to tidied program for the interface file and later GHCi clients. A battle for another day. But at least this commit reduces the number of gratuitous CAFs, and hence SRT entries. And kills off a batch of ASSERT failures.
Diffstat (limited to 'testsuite/tests/lib')
-rw-r--r--testsuite/tests/lib/integer/all.T3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/tests/lib/integer/all.T b/testsuite/tests/lib/integer/all.T
index 7b5e5f2dbe..cdb88380e2 100644
--- a/testsuite/tests/lib/integer/all.T
+++ b/testsuite/tests/lib/integer/all.T
@@ -3,8 +3,7 @@ test('integerConversions', normal, compile_and_run, [''])
# skip ghci as it doesn't support unboxed tuples
test('integerGmpInternals', [reqlib('integer-gmp'), omit_ways('ghci')], compile_and_run, [''])
test('integerConstantFolding',
- [ extra_clean(['integerConstantFolding.simpl'])
- , when(compiler_debugged(), expect_broken(8525))],
+ extra_clean(['integerConstantFolding.simpl']),
run_command,
['$MAKE -s --no-print-directory integerConstantFolding'])
test('fromToInteger',