Intel Inspector detect the simple data race, showing us the conflict load and store.
Also it output a code snippet.
With 6 errors, it detects the race:
It detect the multiple data races:
It does not detect anything, this is not the purpose of the data race detector in intel inspector.
Same as above.
Same as above.
Intel Inspector does not detect the ABA problem exposed in this code.
Even after looping 1000 times multiple times.
It does not detect the aba problem even synchronized on gcc. But it detects it on clang:
We see the delete conflicting with the while in the pop
function.
Intel inspector detect a data race but does not understand nor atomics in gcc/clang nor memory ordering constraints
Same as above.
Same as above.
Intel inspector detect a data race but does not understand nor atomics in gcc nor memory ordering constraints
so it output error on atomic:
With clang it is fine.
As expected with gcc it outputs errors an atomic. And with clang it also provoc errors on atomics.
As expected it does not understand memory ordering constraints.