From: Brian Norris Date: Fri, 21 Sep 2012 17:27:27 +0000 (-0700) Subject: Merge branch 'norris' X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=commitdiff_plain;h=c7cd65f78d1c7956a02ac1e1cbd833e3dd17a3f1;hp=daebea56175a01c918b69836581f9384bd966f78 Merge branch 'norris' 1 bugfix --- diff --git a/model.cc b/model.cc index 64c1daa5..0283911b 100644 --- a/model.cc +++ b/model.cc @@ -1233,7 +1233,7 @@ bool ModelChecker::resolve_release_sequences(void *location, work_queue_t *work_ /* propagate synchronization to later actions */ action_list_t::reverse_iterator it = action_trace->rbegin(); - while ((*it) != act) { + for (; (*it) != act; it++) { ModelAction *propagate = *it; if (act->happens_before(propagate)) { propagate->synchronize_with(act);