[all-commits] [llvm/llvm-project] a30a79: [libc++] Fix broken stdatomic test on GCC

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Feb 15 06:26:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a30a7948d59470fe9403102b192b3e7ddaf21849
      https://github.com/llvm/llvm-project/commit/a30a7948d59470fe9403102b192b3e7ddaf21849
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list