projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3897cb4
)
bug in fence support fixed
author
bdemsky
<bdemsky@uci.edu>
Wed, 24 Feb 2016 00:07:39 +0000
(16:07 -0800)
committer
bdemsky
<bdemsky@uci.edu>
Wed, 24 Feb 2016 00:07:39 +0000
(16:07 -0800)
action.cc
patch
|
blob
|
history
diff --git
a/action.cc
b/action.cc
index 876de1262c82475f3f9e6610ba339f305963a0a5..d4c6253caf20c23411c60ba350a91760c386e6fc 100644
(file)
--- a/
action.cc
+++ b/
action.cc
@@
-330,7
+330,7
@@
bool ModelAction::could_synchronize_with(const ModelAction *act) const
return false;
// Different locations commute
- if (!same_var(act))
+ if (!same_var(act)
&& !is_fence() && !act->is_fence()
)
return false;
// Explore interleavings of seqcst writes/fences to guarantee total