Goblint (revision `17d08e4c8`) does not produce race warning for the following program: ```c #include <pthread.h> int target, padding; void *reader(void *arg) { padding = ((void)*(volatile int *)&target, 5); return 0; } int main(void) { pthread_t t; pthread_create(&t, 0, reader, 0); target = 42; pthread_join(t, 0); } ```
Activity
sim642 commentedon Nov 30, 2026
That access is hidden from Goblint because it has no side effects.
This is one thing that goblint/cil#232 aims to fix.