canalysis.cc: In member function ‘bool SCAnalysis::processRead(ModelAction*, ClockVector*)’:
scanalysis.cc:162:78: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/* Merge in the clock vector from the write */
const ModelAction *write=read->get_reads_from();
ClockVector *writecv=cvmap->get(write);
- changed|= ( writecv == NULL || merge(cv, read, writecv) && (*read < *write));
+ changed |= writecv == NULL || (merge(cv, read, writecv) && (*read < *write));
for(int i=0;i<=maxthreads;i++) {
thread_id_t tid=int_to_id(i);