Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

seq-mthread/pals_STARTPALS_ActiveStandby* benchmarks have suspicious self comparision #72

Open
delcypher opened this issue Oct 21, 2015 · 1 comment

Comments

@delcypher
Copy link
Member

Clang is emitting a lot of warnings of the same type for some very suspicious looking code in the

seq-mthread/pals_STARTPALS_ActiveStandby*.c benchmarks.

The warnings look similar to this:

pals_STARTPALS_ActiveStandby_false-unreach-call.4_1.ufo.BOUNDED-10.pals.c:320:22: warning: self-comparison always evaluates to false [-Wtautological-compare]
    s1s1_new = nomsg != nomsg && s1s1_new == nomsg ? nomsg : s1s1_new;

The author of these benchmarks should fix this.

@tautschnig
Copy link
Contributor

@dbeyer According to git log --follow those have been submitted by Sagar Chaki. Would you be able to chase this up?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants