summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/testblockalloc.c
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2014-10-07 08:48:06 -0500
committerAustin Seipp <austin@well-typed.com>2014-10-07 08:48:07 -0500
commitb3e5a7b50428edc07d11ef4db316c20029f7a3df (patch)
tree3b4d7e1be9c25581ae7ff0245f721eabd148f459 /testsuite/tests/rts/testblockalloc.c
parent460eebec65811c6a7bbe11645df322dda868e80d (diff)
downloadhaskell-b3e5a7b50428edc07d11ef4db316c20029f7a3df.tar.gz
Delete __GLASGOW_HASKELL__ ifdefs for stage0 < 7.6.
Summary: My understanding is that ghc 7.10 should be buildable with the last 3 versions of ghc, i.e 7.6, 7.8 and 7.10 itself. Test Plan: x Reviewers: austin Reviewed By: austin Subscribers: hvr, simonmar, ezyang, carter, thomie Differential Revision: https://phabricator.haskell.org/D254
Diffstat (limited to 'testsuite/tests/rts/testblockalloc.c')
-rw-r--r--testsuite/tests/rts/testblockalloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/testsuite/tests/rts/testblockalloc.c b/testsuite/tests/rts/testblockalloc.c
index 7fd14b6b18..b49ae00bac 100644
--- a/testsuite/tests/rts/testblockalloc.c
+++ b/testsuite/tests/rts/testblockalloc.c
@@ -21,15 +21,11 @@ int main (int argc, char *argv[])
srand(SEED);
-#if __GLASGOW_HASKELL__ >= 703
{
RtsConfig conf = defaultRtsConfig;
conf.rts_opts_enabled = RtsOptsAll;
hs_init_ghc(&argc, &argv, conf);
}
-#else
- hs_init(&argc, &argv);
-#endif
// repeatedly sweep though the array, allocating new random-sized
// objects and deallocating the old ones.