Fix msan/tests/msan_test.cpp due to -Wbitwise-instead-of-logical
authorAmy Kwan <amy.kwan1@ibm.com>
Mon, 4 Oct 2021 17:19:16 +0000 (12:19 -0500)
committerAmy Kwan <amy.kwan1@ibm.com>
Mon, 4 Oct 2021 17:58:12 +0000 (12:58 -0500)
commit83539d73f9870c7c44575da6a16788aa55c5c25a
tree81628bb1272160357c962df78652550c42641601
parentb4218a1451d388b58fb26539198f0f8419c2b700
Fix msan/tests/msan_test.cpp due to -Wbitwise-instead-of-logical

The LE Power sanitizer bot fails when testing standalone compiler-rt due to
an MSAN test warning introduced by -Wbitwise-instead-of-logical. As this option
along with -Werror is enabled on the bot, the test failure occurs.
This patch updates msan_test.cpp to fix the warning introduced by the
-Wbitwise-instead-of-logical.
compiler-rt/lib/msan/tests/msan_test.cpp