C RWC Hash=d4ed81a8e04b4cb5bf61d8fb03c7df2e Prefetch=1:x=F,1:y=T,2:y=F,2:x=T Com=Rf Fr Fr Orig=RfeOnceOnce PodRROnceOnce FreOnceOnce PodWROnceOnce FreOnceOnce {} P0(int* x) { WRITE_ONCE(*x,1); } P1(int* x,int* y) { int r0 = READ_ONCE(*x); int r1 = READ_ONCE(*y); } P2(int* x,int* y) { WRITE_ONCE(*y,1); int r0 = READ_ONCE(*x); } exists (1:r0=1 /\ 1:r1=0 /\ 2:r0=0)
C11 equivalent: c11-prop-src/RWC.litmus