There's nothing wrong with the atomic operation, which
makes sense since it's against a NULL pointer. The
problem that I see is in the unwinding -- the catch
never happens and std::terminate gets called.
There must be some sort of 32-bit TCG error though,
because the same binary works on x86_64 host.
The most confusing thing about this test case is that
12 previous throws work correctly, but the 13th fails.
There's nothing wrong with the atomic operation, which
makes sense since it's against a NULL pointer. The
problem that I see is in the unwinding -- the catch
never happens and std::terminate gets called.
There must be some sort of 32-bit TCG error though,
because the same binary works on x86_64 host.
The most confusing thing about this test case is that
12 previous throws work correctly, but the 13th fails.