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.