Commit 7b03dbf5 authored by Simon Marlow's avatar Simon Marlow

Fix atomicinc

I think the change in optimisation levels due to
d0608373 had the side effect of not
inlining atomic_inc(), which together with the broken way the test was
set up made it fail.
parent f3f90778
......@@ -63,7 +63,7 @@ test('stack003', [ omit_ways('ghci'), # uses unboxed tuples
extra_run_opts('500000 +RTS -kc1k -kb100 -K96m -RTS') ],
compile_and_run, [''])
test('atomicinc', [ c_src, only_ways(['normal']) ], compile_and_run, [''])
test('atomicinc', [ c_src, only_ways(['normal','threaded1', 'threaded2']) ], compile_and_run, [''])
test('T3424', # it's slow:
[ when(fast(), skip), only_ways(['normal','threaded1','ghci']) ],
......
#define THREADED_RTS
#include "Rts.h"
StgWord i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment