[all-commits] [llvm/llvm-project] f376a3: Work around GCC test failure that is caused by ena...

Eric via All-commits all-commits at lists.llvm.org
Sat Dec 2 21:43:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f376a3bba1900942f75092a7c2ea100a28e7cbac
      https://github.com/llvm/llvm-project/commit/f376a3bba1900942f75092a7c2ea100a28e7cbac
  Author: Eric <eric at efcs.ca>
  Date:   2023-12-03 (Sun, 03 Dec 2023)

  Changed paths:
    M libcxx/test/std/containers/sequences/deque/deque.modifiers/insert_iter_iter.pass.cpp
    M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp

  Log Message:
  -----------
  Work around GCC test failure that is caused by enabling optimizations. (#73998)

While trying to work around MSAN/TSAN build timeouts, we enabled
optimizations on some tests. This caused GCC to start complaining that
some values may be uninitialized. I believe GCC is wrong, but more
investigation is needed.

The values are initialized when the variable `__g` is either < 0 or >=
0. Which only leaves out NaN I believe, which is likely well into UB
   land anyway.

However, more investigation needed.




More information about the All-commits mailing list