[libc++] Fix broken stdatomic test on GCC
authorLouis Dionne <ldionne.2@gmail.com>
Tue, 15 Feb 2022 14:25:29 +0000 (09:25 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Tue, 15 Feb 2022 14:26:27 +0000 (09:26 -0500)
commita30a7948d59470fe9403102b192b3e7ddaf21849
tree4c9f0307d791598f7f9f7c3ece5273651f063270
parent2808743cbdcee806eecd7b8799cf776727dc574b
[libc++] Fix broken stdatomic test on GCC

The test would trigger -Wtautological-compare. I think that the little
we gain from comparing addresses isn't worth the added complexity to
work around the warning.
libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp